New GitHub Copilot Research Finds 'Downward Pressure on Code Quality'
New GitHub Copilot Research Finds 'Downward Pressure on Code Quality'

New GitHub Copilot Research Finds 'Downward Pressure on Code Quality' -- Visual Studio Magazine

Interesting to see the benefits and drawbacks called out.
So I guess previously people might first look inside their repo's for examples of code they want to make, if they find and example they might import it instead of copy and pasting.
When using LLM generated code they (and the LLM) won't be checking their repo for existing code so it ends up being a copy pasta soup.
If you use AI to generate code, that should always be the first draft. You still have to edit it to make sure it's good.
I totally agree, but I don't hear any discussion about how to incentivize developers to do it.
If AI makes creating new code disproportionately easy, then I think DRY and refactoring will fall by the wayside.
Yeah, but by generating with AI you're incentivized to skip that initial research stage into your own code base, leading you to completely miss opportunities for consolidation or reuse
Makes sense, even if it’s not good practice.
It is really useful for hobby projects! I needed a recursive function to find a path between two nodes in a graph and it wrote me something that worked with my data in a few seconds, saved a bit of time
For now.
I find that code way too fun to write to let someone or something else do it for me 😂