DEV Community

Cover image for Have you tried GitHub Copilot?
Madza
Madza

Posted on

Have you tried GitHub Copilot?

GitHub Copilot is an AI tool developed by GitHub and OpenAI to assist users of VS Code by autocompleting code.

It was first announced on 29 June 2021. It got quite a buzz on the launch.

Three months has since passed and I was wondering:

  • Have you tried it and what are your impressions/thoughts?
  • Do you see it as a must-have tool in your stack?

Latest comments (54)

Collapse
 
chientrm profile image
chientrm

I can no longer code without Github Copilot

Collapse
 
madza profile image
Madza

Thanks for the insight 👍😉

Collapse
 
gochev profile image
Nayden Gochev

Just to share something I use Github Copilot from a week for Java Development and it is AWESOME. comapared to TabNine and everything else... this is so much better... it is absurdly awesome.

Collapse
 
javier123454321 profile image
Javier Gonzalez

It is surprisingly good. It infers boilerplate regarding some functions. It needs A LOT of wrangling though.

Collapse
 
madza profile image
Madza

Thanks for sharing 😉👍

Collapse
 
geraalcantara profile image
Gerardo Alcantara

Well I'm my personal case I'm not a senior dev and a master of any source, so copilot help me to write faster and with nice patterns even on html and like everyone say some times it resolve in none sense code

Collapse
 
madza profile image
Madza

Thanks for sharing 🙏❤

Collapse
 
rejaur2287 profile image
rejaur2287

Long it takes in wiatlist...

Collapse
 
link2twenty profile image
Andrew Bone

I quite like it for writing comments that describe code I've written rather than having it complete whole functions. I also sometimes use it as line completion.

Collapse
 
madza profile image
Madza

Awesome! 😉Thanks for the share 🙏❤

Collapse
 
mastermind profile image
MasterMind

copilot is brilliant and all but unfortunately it uses up a lot of memory along with VS Code which makes me use it very very less often

or maybe my PC sucks.¯_(ツ)_/¯

Collapse
 
madza profile image
Madza

but unfortunately it uses up a lot of memory

Did not know this, thanks for sharing 😉
Could you share you main PC specs? 👀

Collapse
 
mastermind profile image
MasterMind

it's a 4 GB RAM and an Intel i3 processor. not too proud of it 😁

Thread Thread
 
madza profile image
Madza

How does it handle Chrome? I remember I had a low spec PC back in time, and I used Firefox as it could handle multiple tabs better 😉

Thread Thread
 
mastermind profile image
MasterMind

Chrome goes well most of the time, but yeah it takes about half a minute to start. Also, I prefer using Opera GX over it 👀

Thread Thread
 
madza profile image
Madza

I used Opera for sume time in the past too, then FF and now Chrome 😉
Brave looks promising and lots of devs use it 😉

Thread Thread
 
dilutewater profile image
Rachit Khurana

Well I have 4gb Ram & 3rd gen pentium
embarrassed

Collapse
 
louislow profile image
Louis Low

Sound promising. Can't wait to try on it.

Collapse
 
aghost7 profile image
Jonathan Boudreau

I have ethical concerns over it so I have not.

Collapse
 
latze profile image
latze

I have never tried github copilot

Collapse
 
prathameshkdukare profile image
Prathamesh Dukare

Its on my waitlist

Collapse
 
jayjeckel profile image
Jay Jeckel

If and until the copyright issues around the generated code have been worked out, I would strongly advice against using these tools to generate code for open source projects.

For those that are unaware, the model used to generate code was trained on publicly available open source projects. Many (and I'd guess most) of these projects carry licenses that require attribution or even the whole license to be included when their code is reused. Copilot has been shown to reproduce such code without the required legal additions. Therefore any use of Copilot generated code is opening your project up to the possible risk of copyright infringement and, worse, the insult that is reusing open source code without giving the original author the credit they are due.

It's an interesting experiment, but as a tool for work it isn't yet fit for purpose and could actually harm the user, their project, and the open source community as a whole.

Collapse
 
madza profile image
Madza

Thank you for sharing this 😉

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

I'm a vim user, so I couldn't try it even if I wanted. But also, I don't see the need for such a tool. From what I've seen, it seems like a tool for people who write repetitive code most of the time, which is something I try to avoid altogether.

Collapse
 
javier123454321 profile image
Javier Gonzalez

Boilerplate is real. It'll do it for you, also inferring variable names, etc. I was pleasantly surprised.

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

I can't think of anything I've written lately where I would expect a semi-smart AI like gh autopilot to do me any good, but of course I can't say for sure until I've tried it some day. But generally speaking, I just don't write that much boilerplate in general, other than your typical module imports, which are already covered by editors with a snippet feature.

Collapse
 
siddharthshyniben profile image
Siddharth

It's really helpful when I don't know exactly how to solve a problem. And also for boilerplate. My only con is that no vim support. If there were, I would happily use it.

Collapse
 
prabhukadode profile image
Prabhu

Yes tried it and what I noticed is that it has pros and cons