DEV Community

Edenn Touitou
Edenn Touitou

Posted on

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

From the Github copilot doc page :

You can use GitHub Copilot to get autocomplete-style suggestions from an AI pair programmer as you code.

Essentially, Github copilot is a pair programming buddy, fueled by AI. It is compatible with most IDE and support languages such as JS/TS, Python, Ruby, GoLang.

Now that the free beta is closed and the final product is released, would you consider using it ? What do you think of the pricing ?

Discussion (7)

Collapse
ncpa0cpl profile image
ncpa0cpl

I was excited about Copilot, but now that I tried it I am just very disappointed.

I didn't spent that much time with it but so far it's been very difficult to have it suggest anything useful.

Here are some of the attempts I made with it:

  • I've tried to generate some simple React component, it suggested to me only one line, an import from a library, and then after selecting that suggestion, for the next line it would once again suggest the exact same thing, if I selected that, it would suggest it again, and so on, I was stuck in a never-ending loop
  • in other attempt it would start with something that actually looked like a React functional component but then keep suggesting the same exact useState over an over but with longer and longer names. In the end I wasn't even able to generate any valid React code.
  • I asked copilot to implement a mutex, and what I got was either a simple class with a single boolean attribute and lock/unlock functions wchich were setting that boolean to true or false, or something that actually made no sense at all.

Also in all the attempts I made there was only one or two suggestions available to chose from.

In the end I don't think I will be using it much if at all, since how it was performing so far I would probably waste more time trying to make it give me something useful than if I just wrote that code myself.

Collapse
fish1 profile image
Jacob Enders • Edited on

I found that Copilot was much more helpful when you write 'companion' code.

Take for example, you're writing two functions to make a GET and a POST request to an API. When you write the first GET request, it knows nothing about the API you're using or how you might want to use it. So you essentially need to write it yourself.

But then when you need to go and write the POST, it has the GET call as an example. Now it knows about the API and vaguely how you are going to be making the calls. You can almost tab complete the entire thing and just make a couple of changes to the parameters.

I found that using COPILOT with this mindset really takes advantage of its learning ability. It does pattern recognition, not mind reading.

Collapse
bradtaniguchi profile image
Brad

I'm a big fan of github products and services, I would consider paying for it if it was bundled with other offerings.

Except I personally am waiting for codespaces to come out of closed beta for individuals (its only available for organizations) and I'd consider combining the two.

I wouldn't use copilot for work, and only use it for personal projects. So having the pricing combined with pro+codespaces+copilot is something I'd consider together.

Otherwise ~8$ a month might be too steep for me for side-project work. However, I like working on my chromebook, and I like codespaces so combining those two is something I'd highly consider.

Collapse
volker_schukai profile image
Volker Schukai

the price is ok, the only thing i think with is that github (microsoft) gets to read all your code. for opensource this is certainly not an issue, but for intellectual property it is.

Collapse
camco profile image
Camco

That ship has sailed. Almost nothing is private any more

Collapse
volker_schukai profile image
Volker Schukai

This is of course a fatalistic view, but not the only one. :-)

In europe, we have the GDPR rules that companies have to follow.

People have the possibility to demand the deletion of their data. But how do i get the data out of the ai database?

in any case, it is important to switch off the telemetry.

there is also a discussion about this here:
github.com/github-community/commun...

Collapse
bwca profile image
Volodymyr Yepishev

I haven't tried it yet, hope it isn't Ctrl+C, Ctrl+V as a service :)