AI is eroding code quality states new in-depth report
devclass.com
devclass.com
Counterpoint: devs would have written duplicate-functionality code anyways, but it wouldn't have shown up as an exact match in years prior.
LLMs seem to bring a kind of consistency in variable naming, comments, structure, etc. that people (and teams of people) don't usually have.
> The researchers also noted a 39.9 percent decrease in the number of moved lines.
The chart shows moved lines dropping dramatically since 2021, and "churn" increasing dramatically by the same amount. Neither of these seem remotely plausible and date to well before LLM's, and rather suggest some kind of measurement artifact. That something is causing moved code to be increasingly classified as "churn", probably because something about it isn't an exact precise match. But if you consider churn to be refactoring (which is very plausible) then refactoring is actually increasing, totally opposite of the article's conclusion.
GPT 3.5 came out early in 2022, chatGPT later the same year. Lots of change and community discussion that year around this sort of thing.
See projects like suckless with an entire philosophy along those lines… ooh desktop environments are a sign of poor code quality
Skin suits without real existential dread draw illusory lines in the sand to not cross. Altars of sigils and totems to worship, real or imagined. Meanwhile never any giant foot’s squishing us when these principles are not upheld.
Code quality types are the lady in Misery who knows which way each penguin is faced.