Better HN
topnewbestaskshowjobs
Log inSign up

contextcost

-2 karma · joined May 19, 2026 (6mo ago) · 4 submissions

An old programmer

https://contextcost.dev/

Submissions

comment 6mo ago · link · parent

Agree, agentic coding seem to have shifted the trade-off about over-engineering, I found clean architecture is a good practice for coding agent, so every task have a clean and limited context, only a few directly connected classes or interfaces is relevent to any local modification.

comment 6mo ago · link · parent

I have an idea on how to tell if a codebase is rotting under AI Agent maintenance. We can collect and analyze how the coding agent reads code during programming tasks, and see if the code access and token consumption are steadily increasing for similar development tasks. If the code readability doesn't degrade for the agent, the maintainability of the codebase should be fine.