22
Fast-Nop
290d

New GitHub Copilot Research Finds 'Downward Pressure on Code Quality': https://visualstudiomagazine.com/ar...

No shit, who would have thought that automated garbage generation could hamper quality?

Comments
  • 6
    Ah yes, backseat programming. Who doesn't love that.
    And on top of that it's AI garbage backseating.
    Trully, the future is now old man.
  • 2
    Would be interesting to know, if copy-pasting from Stackoverflow has the same effect.
  • 1
    @glowFX Probably not because that wouldn't even compile. Making that work requires at least understanding how to extract the relevant parts.
  • 2
    ah, yes, "it compiles" - this was always the measurement for acceptable code. I guess that's the only measurement cGPT needs to fulfill :D
  • 1
    @glowFX Necessary != sufficient. First semester math.
  • 3
    In JS anyway, I've found Copilot tends to write 'older' styled code, unnecessary TS annotations, and it leans heavily into array functions. It'll use [].reduce at every opportunity, for example.

    Ive also found it's 50/50 on string autocompletion. If I use 'micDisconnectedEvent' in one file, it might suggest 'microphoneDisconnectedEvent' in another.

    In total, I don't think its good to use it as anything other than fancy autocomplete, and even then to use it cautiously
  • 1
    visual studio magazine is a thing… thanks, I hate it.
  • 0
    Thank you for share with us.
  • 0
    I am not surprised that automated code generation tools could have such an impact on code quality. While they offer convenience, there's no substitute for human expertise and careful consideration whenI am not surprised that automated code generation tools could have such an impact on code quality. While they offer convenience, there's no substitute for human expertise and careful consideration when writing code. https://wordleunlimited.online/
Add Comment