TLDR Dev · OPINIONS & ADVICE

THE COST OF ABSTRACTION FOR HUMANS AND AI AGENTS

ondrejvelisek.github.io18 min read

Summary from the TLDR Dev newsletter

Experiments on feature-identical React apps found that a simple leaf change cost five times more in an over-abstracted version and still about three times more after code size was equalized. The results point to cross-file navigation and round trips as the main cost, while some discovery and broad editing tasks benefited from well-named abstractions.