this post was submitted on 29 Nov 2024
42 points (95.7% liked)

Linux

5502 readers
132 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Counter article: https://jadarma.github.io/blog/posts/2024/11/does-github-copilot-improve-code-quality-heres-how-we-lie-with-statistics/ about the original statistics article from Github this talk and blog post is about: https://github.blog/news-insights/research/does-github-copilot-improve-code-quality-heres-what-the-data-says/

If you rather like a reactionary video commentary to the article from The Primeagen: https://youtu.be/IxYN7DKefmI or watch on Invidious, a privacy focused web YouTube client without using YouTube directly: https://inv.nadeko.net/watch?v=IxYN7DKefmI

you are viewing a single comment's thread
view the rest of the comments
[–] thingsiplay@beehaw.org 9 points 3 weeks ago (2 children)

While the author does not like Copilot or Ai tools for this task, the entire article is not about Copilot itself. The author makes points and points out why the statistics and article from Github/Microsoft is nonsense and misleading at best, or even straight up lies at worst. Its not just that Github is biased here, hey first straight up lie with the statistics and why the brought up points of Github makes no sense or are misleading. The author of this article did actually a good job of breaking it down and explains each point.

which makes it a no-brainer commercially

There is no such thing as "no-brainer commercially" when Ai is involved. If you turn off your brain because you are using Ai, then you are using Ai wrongly. And soon you will find yourself in trouble, especially if its commercially used.

[–] towerful@programming.dev 1 points 3 weeks ago

A commercial no-brainer means it makes such financial sense that even someone with no brain would make the same decision.
For $100/year subscription, it has to save something like 2 hours of dev time per a year for it to make financial sense.

It doesn't mean that anyone gets to switch off their brain

[–] FizzyOrange@programming.dev -1 points 3 weeks ago (1 children)

There is no such thing as “no-brainer commercially” when Ai is involved

There absolutely is. Copilot is $100/year (or something like that). Developer salaries are like $100k/year (depending on location). So it only has to improve productivity by 0.1% to be worthwhile. It easily does that.

You can't "turn off your brain" when using copilot. It isn't that advanced yet.

[–] thingsiplay@beehaw.org 2 points 3 weeks ago (1 children)

Productivity goes up, quality goes down.

[–] bleistift2@sopuli.xyz 1 points 3 weeks ago (4 children)

Have you ever seriously used Copilot?

[–] mranachi@aussie.zone 5 points 3 weeks ago (2 children)

I'm neither a professional programmer nor a user of Ai but...

Do you think your experience, I'm guessing a pre-ai trained programmer, is reflective of post-ai trained programmers?

Will the inevitable reliance on AI in learning and training, will creativity of new programmers drop? Is that even a problem?

[–] FizzyOrange@programming.dev 3 points 3 weeks ago (1 children)

I am a professional programmer and a user of AI.

With current AI, it's going to have absolutely no effect on "creativity of new programmers". I would say it would even help with that since it greatly lowers the barrier to entry for programming. One of the things it is actually quite good at is explaining basic concepts, which can often be hard to google.

The thing it isn't good at - yet - is writing complete programs. Especially if they aren't very common domains like CRUD or parsers. So you still need to know how to program.

At the moment it's kind of like you've got a friend who has read a ton of stuff but isn't very clever or reliable. Amazing for finding things, looking things up, doing grunt auto-complete work, etc. But you can't ask them to write an SPI driver for a radio module or whatever.

Maybe in future they'll get to the point where they can reliably do the kinds of complex tasks that most professional programmers do, but I think that will take a while (and probably be close to AGI by that point).

[–] mranachi@aussie.zone 2 points 3 weeks ago

Thanks for the detailed response!

[–] bleistift2@sopuli.xyz 2 points 3 weeks ago

In its current state I don’t think learning programming with the help of AI will be much different. For that AI makes too many mistakes. You have to check its grunt work output (which is still faster than writing it yourself). You also cannot trust its explanations, because it hallucinates too often. AI can nudge you in the right direction and can mostly help you, but often enough it can’t and you’ll have to research yourself. @FizzyOrange@programming.dev’s ‘idiot friend’ metaphor fits very well.

[–] tyler@programming.dev 1 points 3 weeks ago (1 children)

My team tested it out for our company (17k employees) and it was so bad we immediately said no. It wasn’t just harmful, it was actively intrusive. I’d be trying to type something and it would autocomplete the exact opposite of what I wanted to type. I was constantly deleting what it wrote because it was nowhere in the vicinity of being correct. The same experience was had across everyone else that tried it.

Claude on the other hand is wonderful.

[–] bleistift2@sopuli.xyz 1 points 2 weeks ago (1 children)

trying to type something and it would autocomplete

I don’t know what program you used, exactly, but if the autocompletion comes automatically, you’re doing it wrong. You start typing, check what Copilot is suggesting, ant if it is right, you accept it.

[–] tyler@programming.dev 1 points 2 weeks ago

Except the defaults for copilot plugins automatically put them either on enter or tab, the normal completion mechanisms for any decent IDE.

[–] grrgyle@slrpnk.net 1 points 3 weeks ago

I have, but in my experience any personal gains are lost if I account for the extra time needed to review other devs' PRs. The volume of sloc submitted has gone way up, but everything runs and looks fine, so the bugs that do sneak in are really nasty little things.

The experience of using it to fill out, like a wall of config changes, or a bunch of repetitive test cases is good though.

[–] FizzyOrange@programming.dev 0 points 3 weeks ago

He obviously hasn't. This is one of those things where some people feel threatened by something, haven't used it, and feel like they can comment based on how they imagine it is.

Reminds me of when the iPhone came out. You had all sorts of nonsense criticism of it from people that had clearly never even touched one.