I have been using the ai for two weeks now and it really acts like its name. Youre still doing most of the work like thinking about how to solve a specific problem. The ai mostly uses code it was trained with and suggests code you have already used or suggests code in a way you would write it.
As long as you don't expect it to do your job for you, it is already usable. It's a huge time saver, I have had countless instances where it predicted exactly what I was going to code.
You should not expect Copilot to write an entire function for you, although it sometimes can, but instead you should use it as a tool that will write somethings for you, just like autocomplete.
I love the moments when I modify the x coordinate of an object, and then Copilot suggests a line to modify y, and they need to be modified differently, and Copilot gets it correctly.
Also it filled in a whole formula for me after I have just written the first quarter of it.
Sometimes when you are stuck in a bind, and can't figure out how to solve a problem, copilot has really saved me by just throwing some suggestions at me, even if they aren't what I need, they usually get me in the right direction.
It's like when you are stuck in a bind and talk it over with a colleague or a friend, usually you just need to clear your mind and discuss it with someone else.
I think we'll have neural linking before Copilot will work properly. In fact, many AI-based tools will probably require neural linking of some sort to truly work simply because typing your intentions in a non-ambiguous manner is nearly impossible.
Currently, Copilot is a bit like googling what you want to do and copy pasting the first stackoverflow/github result into your code.
In fact, many AI-based tools will probably require neural linking of some sort to truly work simply because typing your intentions in a non-ambiguous manner is nearly impossible.
And you think a computer will have an easier time with our thoughts?
It's usable right now. I write the documentation for the function I need written and most of the time what I want gets suggested. It's a godsend for things with bigish API surfaces (think browser APIs, Numpy, matplotlib, testing libraries).
It is soooo good though... But it requires a good programmer to use, sometimes it falls into an infinite loop of stupid decisions, but ultimately it's a huge timesaver...
I am building a few API's at the moment, and GitHub just happily building methods based on my previous code is just so nice, and when I start a foreach loop, it throws a bunch of half decent code at me, some which I can use...
I've found that GitHub copilot is actually pretty useful for very small things. For example i wanted my terminal output to be in random colours, just one comment and bam, colour. It's also pretty nice for generating a bunch of random text/sentences if you need that and don't feel like being creative.
Jokes aside, copilot is exceptional for boilerplate like constructors and alike. In some cases, it even generates partially correct code for common data structures like trees and stacks. Other than that, applications vary and as close as it can get, it isn't touching perfection too soon.
Part of the machine revolution is also learning to work with machines.
In time you know where the robots are good and where they are bad, so you can easily tune in where the rates of success are high, and the reading is easy and obvious when it perfectly predicts.
8
u/McKapucna Apr 03 '22
i cant get used to the fact that this just happened. like this used to not be and thing and now it is. people just use AI to write code now.
106
u/oj_mudbone Apr 03 '22
I don’t think copilot will ever be usable. Like trying to paint the Mona Lisa with a toothbrush
173
u/luisantos1986 Apr 03 '22
Copilot its so smart that he knew you had a curved screen for his code
2
u/DangyDanger Apr 04 '22
# create a function to create the game76
u/rgnkn Apr 03 '22
Copilot loves Led Zeppelin's "Stairway to Heaven".
35
u/Venture601 Apr 03 '22
pov: Java class name
34
u/lucdewit Apr 03 '22
Oh wow, I've had this exact thing, where copilot got stuck in a loop of making my variables longer and longer
10
u/gauthamkrishna9991 Apr 03 '22
I'm actually interested in seeing the data which caused the AI to output this... If there is one actually.
8
u/GatoradePunch Apr 03 '22
They keep saying developers will also be affected by AI… I think we’re safe for a while.
14
u/LolzmanXD Apr 03 '22
I've found that GitHub copilot is actually pretty useful for very small things. For example i wanted my terminal output to be in random colours, just one comment and bam, colour. It's also pretty nice for generating a bunch of random text/sentences if you need that and don't feel like being creative.
6
u/[deleted] Apr 03 '22
*stairway to Heaven *
4
u/lizardturtle shameless Apr 04 '22
Modular AF and also good readability😤🤙🏼🤙🏼🤙🏼. Incredible
4
u/AlFasGD Apr 04 '22
Guess who trained it
Jokes aside, copilot is exceptional for boilerplate like constructors and alike. In some cases, it even generates partially correct code for common data structures like trees and stacks. Other than that, applications vary and as close as it can get, it isn't touching perfection too soon.
1
u/snotfart Apr 04 '22 edited Jul 01 '23
I have moved to Kbin. Bye. -- mass edited with redact.dev
3
u/mastersun8 Apr 03 '22
I think your copilot was trained on too much java
3
u/[deleted] Apr 04 '22
I love copilot because it allows me to do this stuff with no effort at all
2
u/[deleted] Apr 03 '22
I don't know which is worse.
Diagonal code or stair code
2
u/Rene_Z Apr 03 '22
I'm amazed that all the lines actually make sense, and the variable names are accurate. They just get more and more nonsensical towards the bottom.
2
u/314kabinet Apr 04 '22
We haue found ftaires!
1
u/deftware Apr 04 '22
As long as you don't have to type it all out!
1
u/[deleted] Apr 04 '22
Yeah, GitHub copilot sometimes gets in a loop.
0
u/[deleted] Apr 03 '22
[deleted] — view deleted comment