Understanding GitHub Copilot, your coding assistant
Imagine you’re trying to build a big and beautiful LEGO castle, but you are not so good with LEGO. Luckily, you’ve got this friend who’s very experienced at LEGO. They can suggest to you what piece to use to start building or come up with cool design ideas you hadn’t thought of. That’s pretty much what GitHub Copilot is, but instead of building LEGO, it is for coding in almost any programming language.
Figure 13.1 – GitHub Copilot
GitHub Copilot is like a super smart friend you always wanted to have who helps you write code. You tell it what you want to do in simple English, and it suggests chunks of code that might help you do just that. It’s a tool developed by GitHub that uses a lot of data from code available on the internet to give you suggestions. It uses Artificial Intelligence (AI) to suggest lines of code, complete functions, and even write entire...