4 ms·
I think many people see GitHub Copilot as a code generator, without having used it, and then wonder like you. But afaik almost everybody uses it as autocomplet
by cube2222 4y ago
I think many people see GitHub Copilot as a code generator, without having used it, and then wonder like you.
But afaik almost everybody uses it as autocomplete on steroids.
So the reasoning behind using it is the exact same as using autocomplete in I.e. Intellij.
It's just slightly more powerful, since it will usually autocomplete the whole line (occasionally a bit more), instead of just the current keyword.
- eatsyourtacos 4y agoExactly this! And it's scary how good it is for "autocomplete" sometimes. I've found it much more useful on our angular webside frontend rather than the c# backend.. but man on the angular/javascript side it really saves time. I can't think of any good examples off the top of my head, but every few days I literally am wondering to myself "how did I now I wanted to do exactly that!"
- greenhatman 4y agoIt sometimes completes whole functions for me, from which I just have to make minor corrections afterwards. Some of which would have required me to lookup syntax 2 or 3 times. So it saves a lot of time in that way. I do find it's much better in some languages though. And probably especially with languages you're new in. It doesn't do much for me in PHP, but does a lot in JavaScript.