Hacker News new | ask | show | jobs
by dzonga 6 days ago
the era of 'productivity gains' using dynamic languages is over.

now it's simply a matter of having agents write as close to the metal as they can for performance, the wider ecosystem of libraries (which can also be ported over) to more performant languages.

if humans are not reading the code does readability matter ?

2 comments

Readability makes agents waste less reasoning tokens to understand the code. Not caring about this is exactly the same mistake devs made when using slow languages, partially undoing the gains in performance in the underlying hardware
"is exactly" ? Hmm, was this written by an AI. Overconfident claims without numbers seems to be a thing with the chat session based AIs.
No. But yeah my English is sometimes awkward, it's not my first language

Anyway I'm comparing because hardware had substantial gains in the 90s and 2000s that were partially countered by the tendency of software developers to take the lazy path and write inefficient software.

And I see this same tendency towards laziness being repeated with agentic coding: people are not caring about producing 100k LOC beasts, when actually this makes the job harder on agents (more tokens to read, which means context window fills up faster, which means more frequent context compaction which lose details, etc)

My point is that caring about code quality (of which readability is a metric) is important for agents too

If humans are not reading the code, what are they doing besides pulling a lever? How long until whatever minimal monitoring they still perform is also automated by "supervisor agents"?
Humans should be reviewing the verification that the code is doing what it’s intended to do.
For us, that lever is already often : agree with your recommendations, continue