Some developers say that the service makes the routine easier, others say that it often offers a lot of extras.
{“id”:447959,”type”:”num”,”link”:”https://vc.ru/dev/447959-v-80-sluchaev-predlagaet-pravilnyy-kod-no- boyus-otupet-s-nim-pervye-vpechatleniya-ot-ii-servisa-copilot”,”gtm”:””,”prevCount”:null,”count”:22,”isAuthorized”:false}
{“id”:447959,”type”:1,”typeStr”:”content”,”showTitle”:false,”initialState”:{“isActive”:false},”gtm”:””}
{“id”:447959,”gtm”:null}
7895
views
On June 22, GitHub opened access to Copilot, a “programming partner” for all developers – a subscription costs $10 per month or $100 per year. The service has a trial period of 60 days. The free version will be available to students with the GitHub Student Developer Pack and developers of popular open source projects on GitHub.
What users say about the service.
I tested it for two weeks as I had the opportunity and I can say that it works pretty well for the same type and simple things, especially if you need to write a bunch of unit tests or something trivial.
But as soon as it comes to something difficult and specific, hints of some kind of game begin, since there is no context and requirements. Sometimes it suggests something completely ugly that you have to refactor right away, otherwise you will be covered with affectionate words on the review. Sometimes the proposed solution is the worst possible in terms of optimization.
vc.ru user
Well what can I say, this thing already knows everything that a programmer needs to know.
I tried to write on it for about a month. Not bad for beginners, good for coding. Unfortunately, you have to edit and simplify a lot after it. But at the start on the knee, quickly throwing in an approximate direction is a great solution if you understand that 80% will have to be thrown out in the future. In short, to start – a must have tool.
vc.ru user
Unexpectedly, at the end of March, access was opened to me. Tested. In principle, the main conclusion is convenient as adding another monitor when you already have two. Of the super-conveniences, it’s good to write unit tests, for me they are boring, but here they throw it right in paragraphs.
And average amenities – good ideas when you don’t know where to start. Uses the code of your project – substitutes more often approximately correct constants and expressions.
Of the inconveniences – sometimes it infuriates to delete what he writes to you, delete, and he again enters the same. But apparently a bug.
In general, it is convenient, it helps to get rid of the routine a little, but it will not replace the programmer.vc.ru user
I have been using 2 weeks in Visual Studio 2022 with C# language. It helps a lot, often writes correct code. He copes with algorithmic tasks with a bang.
I will probably buy.
vc.ru user
Cool service, sometimes it predicts the future, I have not yet figured out what to write next, but it already offers a function for transforming data from the backend for my front, in 80% of cases it is correct. But I’m afraid to go dumb with him. 🙂
vc.ru user
I write in GoLang, I cry with happiness! He literally reads my mind on a large code base, I keep typing the beginning of a thought, and he guesses absolutely everything (even with 1 letter): code, comments, name and style of errors. And he doesn’t just guess, but writes in the style of my codebase… I’ve already lost the Tab key!
The only negative is the delay between the input and the appearance of the hint, which, in my opinion, is slow (after all, it has the entire codebase).
“Habr” user
It’s pretty cool when it works and you can just tab a bunch of code but most of the time I spent just disabling it.
I don’t get why ppl praise it that much. Sure, in a few years jt might be fantastic but it doesn’t save any time as-is in my experience.
On June 3, Flutter developer Evgeny Saturov told in a thread how he and his team tested Copilot for a month.
Reply to post @scoumbourdis
When the first charm passes, the outlines of harsh reality appear.
You can’t help but pay attention to the hints, trying to comprehend the proposed, although at this time in your head you may have a complete picture of the future code fragment.
Flutterists often get into native and write small code snippets in Kotlin and Swift, which they don’t know as well as Dart. Copilot greatly speeds up the process and improves the quality of the code.
It is very comfortable.
The less context around, the higher the chance that the proposed solution will be appropriate.
Good naming is a guarantee of tests that are written by themselves 🙂
What Copilot really teaches well is correct and understandable naming.
After three weeks of experimentation, half of the developers on the team turned off Copilot, continuing to work the old fashioned way.