DEV Community

Discussion on: Github copilot is out of beta, would you use it ?

Collapse
 
mistval profile image
Randall

I have been using it since last year. I've found it helpful and I will pay for it. It's cheap relative to the productivity gains I get out of it.

When I get lucky, it writes entire functions and long snippets of code for me correctly, or close to it, but that's fairly rare. Where it shines is automating repetitive code writing and boilerplate. Here's an example that I remember from today, and I was able to reproduce right now, writing a new CLI script for Node.js. The dim text is Copilot's suggestion, which are spot-on in this case.

img1

img2

img3

That's a fair bit of typing it saved me, and it does that pretty often. Of course, it often generates code I don't want too, and I waste (usually sub-second) time looking at a garbage suggestion. But it's a net positive.

And the more you use it, the more effective it becomes, as you become better at predicting what it's going to suggest and when it's going to be helpful.