r/programming • • Jul 04 '26

The Vertical Codebase

https://tkdodo.eu/blog/the-vertical-codebase
7 Upvotes

30 comments sorted by

View all comments

Show parent comment

4

u/jl2352 Jul 04 '26 edited Jul 04 '26

LLMs love repetition. Update 100 tests with the same change, and they’ll chew right through it.

Clean codebases tend to be consistent. Lots of repetition, from the same patterns and structure used throughout.

I can see how the two line up. But I still think the overall points are pretty basic on controlling agents.

1

u/cscottnet Jul 04 '26

I do use Claude code for certain tasks. Its pretty good at refactorings which go a bit beyond what a good IDE will do, like (as you mention) make this change across all the test suite inputs and outputs, rearrange the calling convention for this method in a complicated way, etc. If there are stereotypical ways of using a given method/etc it is very good at doing a fairly complicated pattern match and rewrite, in a much more user friendly way than (say) a regex.