I've also managed to use LLMs to cut a lot of manual duplication in code where we typically didn't do enough investment
hibikir on Hacker News
1000 lines per PR
In the thread “The Eternal Sloptember”, replying to this comment
Helped: Instructing LLM to minimize code changes and find test duplication.
… It still requires judgement, as on something big, the smallest possible code base is not necessarily the most readable, but this is the kind of thing one can decide with some experience and little work. I've also managed to use LLMs to cut a lot of manual duplication in code where we typically didn't do enough investment: "Claude, evaluate code duplication in the functional test suite" will have no problem finding things like insufficient helpers, or tests that are testing simpler things as prerequisites, so they can rely on each other. So I am not seeing my codebases growing all that much. …