DEV Community

David B.
David B.

Posted on

Github copilot - thoughts after actually trying it

After waiting some time, today I was invited to try out Github copilots' visual studio code extension.

After using it some time, I personally feel that it is a next step in the coding .


Simple commands are suggested right away
elems

There are some very practical suggestions as well (they are trivial , but I google them all the time still)
dates


Sometimes it suggests ridiculous solutions ridc

But by clicking control+enter we can check several other possible solutions and choose most efficient one

sol


It can actually generate function body from comments (usually it was other way around)

date

One other thing I noticed is that, sometimes, when it comes to libraries, it suggests code from old versions.

For example, in the image bellow it tries to draw scatterplot using d3 v3 (v4 was released in Jun 2016 ) and latest version is d3 v7

Screenshot 2021-07-03 at 12.26.48

Aside from the issues mentioned above, I personally think that this is a next step in the AI assisted programming and can't wait to see how it will progress.

If you are eager to try it out, but you are still in waitlist , just comment your uncompleted code piece bellow and I will try respond with copilot suggested snippets.

Thanks for reading :)

Top comments (11)

Collapse
 
anishde12020 profile image
Anish De

Well, AI is the future and I see GitHub copilot being an assistant for every developer in the future (as the name suggests) but I feel like they shouldn't really take away jobs of developers though tools like these have a long way to go before it reaches that level

Collapse
 
mrsamroy profile image
Sam Roy

It won't...you still need to understand how to build software...

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

Could you please check what happens here in a .js file?

  // the following function does all the magic
Enter fullscreen mode Exit fullscreen mode
Collapse
 
dbumbeishvili profile image
David B. • Edited

It returned magical function

Collapse
 
thorstenhirsch profile image
Thorsten Hirsch

🀦

Collapse
 
maxdevjs profile image
maxdevjs

// builds the next github

Collapse
 
dacurse profile image
DaCurse
// Given a 2d array check for any tic tac toe wins
Enter fullscreen mode Exit fullscreen mode

Maybe the comment is too vague

Collapse
 
dbumbeishvili profile image
David B.

Not sure if it is correct though

Collapse
 
dbumbeishvili profile image
David B.

Collapse
 
mrsamroy profile image
Sam Roy

// Async fetch multiple URLs, read results into an array of objects.

Good luck?

Collapse
 
dbumbeishvili profile image
David B.