logoalt Hacker News

Ciantic • today at 2:11 PM • 1 reply • view on HN

That is what I found odd about the article too. There might be some limited view of what spec-driven development is.

To me point of spec-driven development is it provides human understandable view of the application, as a spec. It is not some specific thing, like write docs/ and then AI will implement it.

I think of spec-driven development as a series of functions that extract the specification from the application, then provides a way to modify the spec. After modifications are done, AI will do the implementation.

You could do it as a series of files you always keep, but having some way to view the spec is necessary.

It could be an interface only slice, with clear list of business logic operations with use-cases, etc. as succinctly as possible.

For someone who likes to view application as databases, they could think that there is a way to extract database schema, then modify the schema, and let AI to do the changes to work according to new schema.


Replies

win311fwg • today at 2:33 PM

> It is not some specific thing, like write docs/ and then AI will implement it.

It was a specific thing, first coined in 2004, when it was realized that TDD (test-driven development) and DbC (design by contract) could be combined. The result was named spec-driven development.

Tech people love to randomly redefine terms, but I expect most are still using it the way it was originally described as a machine-verifiable spec is essential to keep LLM coding agents in line. Spec-driven development, as originally conceived, has never been more relevant.