logoalt Hacker News

Zambyte • last Wednesday at 7:17 PM • 2 replies • view on HN

> With an LLM you don't model the problem at all

You don't. I do. I do spec driven development using AI. I iterate on spec documents until they outline precisely how I understand the problem space and the solution, before letting AI implement the specification. The step of implementing the specification is essentially like compiling the spec into source code, before passing it to the actual compiler to produce machine code.

In my workflow, the specs really are just an artifact at a higher level of abstraction from the source code.


Replies

joshheitzman • last Wednesday at 9:03 PM

Are the specs all sufficiently abstracted from the code base that you could have agent's replay them and rebuild the code base from zero? Or is each spec referencing things from the current state of the code such that the drift in the code base that would occur on replay would cause later specs to become non-sensical?

➕ show 1 reply
tedtimbrell • last Wednesday at 7:26 PM

Is the AI helping with writing the spec or is that something you do entirely alone? If it's the latter than I can see this working but otherwise the writing quality of SOTA models is so poor that I'd rather the LLM just build the entire project

➕ show 2 replies