Hacker News new | ask | show | jobs
by hedora 76 days ago
Does anyone have numbers for churn vs. cumulative code?

Most of my commits (hand written and AI) have delete counts that are 75-110% the added line count.

The point that many developers will probably forget to tell the LLM to run cleanup/refactoring paths is probably true though. (I’ve definitely found ghost-chasing bugfixes in all sorts of corners of LLM generated code).

1 comments

Yeah /simplify is your friend. That and constrained prompts - “refactor x for simplicity - resulting diff must remove n lines of code. Dont change tests. “