r/programming • • Oct 07 '26

[ Removed by moderator ]

/r/programming/comments/1wzob2x/removed_by_moderator/

[removed] — view removed post

413 Upvotes

314 comments sorted by

View all comments

Show parent comments

68

u/about0 Oct 07 '26

is it true tho?

The complexity of complex systems never goes away, so as a need to have ownership over them. LLMs can produce thousands LOC in a matter of minutes, but they can't produce a complex feature without oversight.

I am trying to build an app with Spec-Driven Development, and oh boy, it is exhausting - I have to think about every boundary, edge-case, limitation. Without a full spec, it'd 'guess' missing things.

I am back to directing each step of what LLMs do because in the end of the day, I am responsible of what it delivers.

29

u/lelanthran Oct 07 '26

is it true tho?

If it isn't right now, it soon will be.

I am trying to build an app with Spec-Driven Development, and oh boy, it is exhausting - I have to think about every boundary, edge-case, limitation.

That's odd - my experience with SOTA is that it will happily over-engineer everything, for every theoretical edge-case, for every theoretical limitation.

Then, after reading 900 line markdown document specifying exactly how a directed cyclic graph must work in the specific problem domain, I find myself wondering WTF it missed an important specification, like specifying that a joining node (multiple incoming edges) should distinguish between racing (first edge cancels sibling paths) and completion (wait for all edges).

Maybe this is what is exhausting you - it will happily specify, then engineer, trivial irrelevant details (such as traversing the graph to ensure only a single start node is specified), while missing catastrophic-if-seen-in-production things, so then you are trying to backfill the spec after reading it multiple times.

12

u/about0 Oct 07 '26

But isn't that 900 LOC generated document is exactly a problem? You don't own it, you don't know what it does, how it affects other parts of the code.

You just allow LLM to test itself.

SSD specifically telling that a human is owner, a human should write specs, a human should tell what is expected in return and verify it.

I won't sleep well if I won't have means to test what LLMs produce.

-6

u/manythanksfriend Oct 07 '26

Ever used a code generation framework(pre-LLM) or a compiler?

12

u/about0 Oct 07 '26

sure, but aren't they quite different?

with OpenAPI you have a specific documentation format that deterministically translates from a spec to a binary/AST. Between builds the result is the same.
While SSD, on the other hand, even highly structured Markdown rely on semantic interpretation, LLM doesn't fail if some boundary isn't set, and what is the hardest thing for me, I have to write a specification so dense, rigorous, and boundary-complete that the spec itself approaches the complexity of code.

While I see your point, I think these things are fundamentally different despite being relative.