Coding with an AI pair programmer: Getting started with GitHub Copilot

preview_player
Показать описание
The explosion of programming languages and frameworks has ironically made development more difficult. Developers need to remember different syntax across different environments, and are finding that a large percentage of code they write is tedious. Acting as an AI pair programmer, GitHub Copilot can help a developer offload those tasks and instead focus on the bigger picture. Let's explore how to get started with GitHub Copilot, its capabilities, and how to make the most out of the tool.

▬▬▬▬▬▬ TIMESTAMPS ⌚ ▬▬▬▬▬▬
00:00 - Introduction to GitHub Copilot
01:30 - GitHub Copilot Mechanics
03:00 - Data Handling in GitHub Copilot
04:33 - Adapting Workflow with Copilot
06:03 - Effective Prompt Crafting
08:37 - GitHub Copilot Coding Demo
10:21 - GitHub Copilot Best Practices
12:08 - Django Modeling with Copilot
14:10 - Fine-Tuning Django Code
16:43 - Naming Conventions for Copilot
19:02 - Django Views Optimization
21:20 - Creating Django Views
23:08 - Using Comments and Examples
25:38 - Refining Code with Copilot
28:08 - Key Takeaways and Practices
29:38 - Conclusion

Stay up-to-date on all things GitHub by connecting with us:

About GitHub
Рекомендации по теме
Комментарии
Автор

I'm just getting started with Copilot. I have to say this is a GREAT video.

jms-dtsp
Автор

This instructor taught me MVC. Love his teaching style. To everyone distracted by the nails...they are still in beta. With Microsoft's weight behind it, we will all have purple nails in 2 years.

rgeisert
Автор

fantastic job, very useful, thank you sir!!

omureddy
Автор

GitHub Copilot has great potential, I wish to see copilot gets trained on the latest data. Right now it's only trained till September 2021 which is way behind.

hemant
Автор

Great video !. There is typo in `preselect` . Not sure, was that the reason it have not picked up id and name.

shriprasadmarathe
Автор

The content of this demo is great. Christopher Harrison did a good job in making the material easy to absorb. The timestamps provided are very helpful.

With regard to the audio, the volume of this video is incredibly LOW. Even on an expensive Mac Pro with Bose headphones, I'm having to crank the volume all the way up.

Dear @GitHub: Please update your recording technology! You have some fantastic communicators - you're disrespecting them and your audience with your mediocre recording technology.

aspiringcoder
Автор

I would love for something like OpenAI api based queries so it would be use based costing instead of constant subscription. But I do not code for living so my use case ia different from professionals. Anyhow, these AI tools look very interesting as kind of "coding partners" or additional layer of abstraction.

InnocentiusLacrimosa
Автор

How do you stop it from uploading config files?

PuffNSnort
Автор

00:00 - GitHub Copilot 介绍
01:30 - GitHub Copilot 的工作原理
03:00 - GitHub Copilot 中的数据处理方式
04:33 - 使用 Copilot 调整工作流程
06:03 - 如何有效构建指令提示
08:37 - GitHub Copilot 编程演示
10:21 - GitHub Copilot 的最佳实践建议
12:08 - 利用 Copilot 进行 Django 模型构建
14:10 - 对 Django 代码进行细节调优
16:43 - 为 Copilot 设置命名规则
19:02 - Django 视图的优化技巧
21:20 - 创建 Django 视图的方法
23:08 - 利用注释和示例代码
25:38 - 使用 Copilot 精细化代码
28:08 - 关键要点与实用技巧
29:38 - 结语

alone-
Автор

GitHub Copilot will not only generate different output in response to the same prompts on different days but will also generate the same incorrect output for different prompts regardless of how clearly the specification is rewritten. Sometimes it is necessary to start by typing in the exact name of a function or method that exists in a GitHub repository in order to have Copilot generate the proper output. Of course, if you already know the name, then you've likely looked it up and can just copy and paste the code.

gaiustacitus
Автор

Great video. I am curious who is it different than prompting chatgt directly to get the same code? What advantages do I have from using this? Thank you

ramp
Автор

Always Sprinkles✨
High information per minute with personality.
Thanks for this video Christopher 😚👌

pleanermail
Автор

2:46 how much Context does it send GH Copilot if the file is 10, 000 files long? etc.

spectacularangular
Автор

Such a great intro and demo. Very clear and easy to understand

jmzhjve
Автор

wow! it's amazing, "works shokingly well" in real-time inter-operating systems!

vdmircea
Автор

Did Microsoft used the code available on GitHub repos or to train this A.I. model? I mean they technically own all the code someone is pushing on GitHub

Amd
Автор

Why do I have an impression that there are more comments written by the developer than actual code written by the copilot? 🤔

geoffreycollins
Автор

I'm a bit late to the party..but perhaps someone will answer anyway...Can I use Github copilot if I dont use Github? If not, is there some other copilot that works without Github?

uabpsab
Автор

great intro. Love the presenter! rocking that polish 💅

veganphilosopher
Автор

Copilot is too outdated! They need to figure out how to constantly update and train the model because it’s last update is 2021 like MS Copilot which is crazy to me! That is 3 years ago and in the tech world that is a long time!

orthodox_gentleman