News for hackers. Stuff that matters.
Re:Martin Fowler: Technical, Cognitive, and Intent Debt by physicles on Wednesday April 22, 2026 @06:50PM (#47870316)
Was just listening to the Lenny’s Podcast interview with Simon Willison, who mentioned another such incantation: red/green TDD. The model knows what this means and it just does it, with a nice bump in code quality apparently.

I’m trying out another, what I call the principle of path independence. It’s the idea that the code should reflect only the current requirements, and not the order in which functionality was added — in other words, if you should decide to rebuild the system again from scratch tomorrow, the code should look broadly similar to its current state. It sort of works even though this isn’t a real thing that’s in its training data.

There are no comments on this comment yet.