From the course: GitHub Copilot for Software Developers by Microsoft Press
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Learn about ethical AI coding and avoiding over-reliance - Github Copilot Tutorial
From the course: GitHub Copilot for Software Developers by Microsoft Press
Learn about ethical AI coding and avoiding over-reliance
- All right, so now that we've gone through a few tips about getting the most out of GitHub Copilot, there are a few sort of warnings that I'd like to give you about the ethical and professional responsibilities that go along with using this to write code, okay? So the first thing that I wanted to mention here is, and I've mentioned this many, many times throughout this course, but I just wanted to put it here explicitly so that I can say, "I told you so," right? So first and foremost, whenever you're using GitHub Copilot to write code, it's very important to review the code that it writes before accepting and committing it, right? The fact is that Copilot, at least right now, doesn't test its suggestions. And while maybe, at some it will add that as a feature, right now, what that means is that it doesn't validate the output that it creates or catch any kind of logical errors. What you're seeing is really GitHub Copilot's best guess, which very often is perfectly fine, right? It very…