Using GitHub Copilot to solve a real-world programming problem

preview_player
Показать описание

======⚡⚡⚡======
======⚡⚡⚡======

📚 Resources:

🕒 Timestamps:
(00:00) Intro
(00:31) Project idea
(01:35) Code overview
(05:28) Using GitHub Copilot
(10:59) Thoughts

And don't forget to subscribe for more videos like this 😊

#ai #githubcopilot
Рекомендации по теме
Комментарии
Автор

I did this exact same experiment. I have written over 60 games by slowly evolving my base code and bringing it to the next project. But after I got access, I wrote (and just finished) a game from scratch.

Co-Pilot was mildly helpful at the beginning, writing 5-10% of my code. By the end of the project, Co-Pilot was writing at least 50% (sometimes 100%) and giving creepily accurate suggestions for a made-up game. When I needed to add 2 new classes of space-ship and 4 new goods to trade, Co-Pilot gave name suggestions and reasonable values that only needed minor tweaks.

Co-Pilot eased the fatigue that comes from making arbitrary decisions all day (in more than one way). It always handles the truly boring stuff (debug/log messages, obvious return values, obvious loops, etc). My favorite thing to see is when I hit [return] between two sections of code, think "I should probably..." and Co-Pilot has already written the code. I also say "Wow" or some variant every couple of minutes.

Plus, this awesome power (for it truly inspires awe) will only get better with time. (For example, I don't think it looks across your entire project for better suggestions, just the file you are in.)

Thanks for your take. As soon as I finished my project, I looked for more recent videos of people talking about this. I'm glad I'm not the only one who loves watching it work.

WilliamLeeSims
Автор

I'm so excited and can't wait to test it out too (still on waiting list...), I think I will squeal with joy every time I see it generate a single line of code.

Can you please share what bugs you've found with Copilot if any? And what are the thing that it can't do or really bad at? How does it handle new projects when project structure is not yet defined?
Is there way to help Copilot improve or make it fit some specific needs?

Thanks for answer in advance.

andrey
Автор

This code would get you fired from any decent company. In fact my buddy just had to let a junior go, because it turned out he lacked problem solving skills and the ability to adopt their projects coding style that was rigorously following best practices. He knew the theory, ES6, typescript by heart, could explain every concept he said, but not actually apply it. Thing is they knew this when they hired him, i.e. he was boasting about using copilot and how easy it is to code that way. Goes to show how important it is to properly vet candidates and technologies.

jurycould
Автор

I am writing Packages and company projects with Co-Pilot 🙂

sulabhnepal
Автор

Your initial pronunciation of route was correct in British english.

metri
Автор

Now, developers.., we lost our jobs T.T

zzmgxim
Автор

Awsome video big like for your content and channel, shame i didnt discover it sooner...

Dont think this will take our jobs though ... we still have to maintain change old projects and test new ones build with Copilot :P o welll ... they will just downgrade us ... someone needs to install OS-es on PCs ... Copilot cant do that.

Wonder how much time will take to get rid of bad code generation, and maybe recognize functional programming, readable testable state management ... omg will frameworks be launched with wizards in future ? ...

Still Copilot cant do SASS :P didn't try tho ... hope not ... dont believe it can do arhitectual stuff that all the team agrees on its far in future 5 years ???

Really i just see it as stackoverflow replacement ... and bad one ... or am i justifying all these years of learning and struggling ...

And off topic, dear sir i mUsT know wich font u are using, its so easy on eyes, such bliss ... love it

goran
welcome to shbcf.ru