r/programming • u/kallekro • Oct 07 '26
[ Removed by moderator ]
/r/programming/comments/1wzob2x/removed_by_moderator/[removed] — view removed post
413
Upvotes
r/programming • u/kallekro • Oct 07 '26
[removed] — view removed post
View all comments
Show parent comment
36
u/remy_porter Oct 07 '26
Doomed to failure, for one easy and understandable reason: there is only one document that accurately and without error tells you what the code does.
... the code.
Trying to equate code to the "new assembly" is a type error. Because code has a direct mapping to assembly; even in your higher level languages, we can deterministically (with enough controlled variables) predict what machine instructions get emitted by which input code. And it's still imperfect, and I've still spent many hours looking at assembly trying to understand why it wasn't carrying my intent.
But natural language is vague, contradictory, imprecise. There's no single right way to map natural language to code. Communicating from human to human frequently leads to misunderstandings, and humans are not theory-free inferencers. They have a model of the world and the people they're talking to.
The only way to have "spec-driven development" work is to not use natural language, but to use a carefully selected subset of natural language, with precise grammar and no ambiguity and whoops, you've just invented a programming language again.