Hacker News new | past | comments | ask | show | jobs | submit

A sufficiently detailed spec is code

https://haskellforall.com/2026/03/a-sufficiently-detailed-spec-is-code
> There is no world where you input a document lacking clarity and detail and get a coding agent to reliably fill in that missing clarity and detail

That is not true, and the proof is that LLMs _can_ reliably generate (relatively small amounts of) working code from relatively terse descriptions. Code is the detail being filled in. Furthermore, LLMs are the ultimate detail fillers, because they are language interpolation/extrapolation machines. And their popularity is precisely because they are usually very good at filling in details: LLMs use their vast knowledge to guess what detail to generate, so the result usually makes sense.

This doesn't detract much from the main point of the article though. Sometimes the interpolated detail is wrong (and indeterministic), so, if reliable result is to be achieved, important details have to be constrained, and for that they have to be specified. And whereas we have decades of tools and culture for coding, we largely don't have that for extremely detailed specs (except maybe at NASA or similar places). We could figure it out in the future, but we haven't yet.

> That is not true, and the proof is that LLMs _can_ reliably generate (relatively small amounts of) working code from relatively terse descriptions.

LLMs can generate (relatively small amounts of) working code from relatively terse descriptions, but I don’t think they can do so _reliably_.

They’re more reliable the shorter the code fragment and the more common the code, but they do break down for complex descriptions. For example, try tweaking the description of a widely-known algorithm just a little bit and see how good the generated code follows the spec.

> Sometimes the interpolated detail is wrong (and indeterministic), so, if reliable result is to be achieved

Seems you agree they _cannot_ reliably generate (relatively small amounts of) working code from relatively terse descriptions

loading story #47436704
loading story #47436401
loading story #47436715
loading story #47435238
loading story #47436293
loading story #47436631
the comments here are better than the article lol
loading story #47434846
loading story #47436319
loading story #47436323
loading story #47435556
loading story #47436302
loading story #47436352
loading story #47436353
loading story #47435847
loading story #47435511
loading story #47435837
loading story #47436144
loading story #47435961
loading story #47435666
loading story #47435680
loading story #47435851
loading story #47436180
loading story #47435246
loading story #47436055
loading story #47435377
loading story #47435306
loading story #47435430
loading story #47434754
loading story #47435539
loading story #47434752
loading story #47436516
loading story #47435236
loading story #47436449
loading story #47435617
loading story #47435759
loading story #47436223
loading story #47435907
loading story #47434651
loading story #47436128
loading story #47435285
loading story #47436415
loading story #47435877
loading story #47435677
loading story #47435085
loading story #47435195
loading story #47436326
loading story #47435979
loading story #47434817
loading story #47435056
loading story #47435748
loading story #47435547
loading story #47435538
loading story #47434993
loading story #47435263
loading story #47434829
loading story #47435402
loading story #47435596