News for hackers. Stuff that matters.
Re:Verified Spec-Driven Development (VSDD) by manmal on Saturday February 28, 2026 @04:59PM (#47200732)
This. Waterfall never worked for a reason. Humans and agents both need to develop a first draft, then re-evaluate with the lessons learned and the structure that has evolved. It’s very very time consuming to plan a complex, working system up front. NASA has done it, for the moon landing. But we don’t have those resources, so we plan, build, evaluate, and repeat.
Re:Verified Spec-Driven Development (VSDD) by ErrantX on Saturday February 28, 2026 @05:59PM (#47201340)
So, rollback and try again with the insight.

AI makes it cheap to implement complex first drafts and iterations.

I'm building a CRM system for my business; first time it took about 2 weeks to get a working prototype. V4 from scratch took about 5 hours.

Re:Verified Spec-Driven Development (VSDD) by zozbot234 on Saturday February 28, 2026 @06:10PM (#47201462)
AI is also excellent at reverse engineering specs from existing code, so you can also ask it to reflect simple iterative changes to the code back into the spec, and use that to guide further development. That doesn't have much of an equivalent in the old Waterfall.
Re:Verified Spec-Driven Development (VSDD) by NamlchakKhandro on Saturday February 28, 2026 @08:57PM (#47202801)
are you intentionally being vague here becuase it's a HN comment and you can't be arsed going into detail?

or do you literally type

> Look at the git repo that took us 2 weeks, re-do it in another fresh repo... do better this time.

I think you don't and that your response is intentional misdirection to pointlessly argue against the planning artifact approach.

Re:Verified Spec-Driven Development (VSDD) by manmal on Sunday March 01, 2026 @03:42AM (#47204897)
Yeah, if done right. In my experience, such a reimplementation is often lossy, if tests don’t enforce presence of all features and nonfunctional requirements. Maybe the primary value of the early versions is building up the test system, allowing an ideal implementation with that in place.

Or put this way: We’re brute forcing (nicer term: evolutionizing) the codebase to have a better structure. Evolutionary pressure (tests) needs to exist, so things move in a better direction.

Re:Verified Spec-Driven Development (VSDD) by ErrantX on Sunday March 01, 2026 @08:17AM (#47206439)
What matters ultimately is the system achieves your goals. The clearer you can be about that the less the implementation detail actually matters.

For example; do you care if the UI has a purple theme or a blue one? Or if it's React or Vur. If you do that's part of your goals, if not it doesn't entirely matter if V1 is Blue and React, but V4 ends up Purple and Vue.

Re:Verified Spec-Driven Development (VSDD) by zozbot234 on Saturday February 28, 2026 @05:14PM (#47200869)
That "first draft" still has to start with a spec. Your only real choice is whether the spec is an actual part of project documentation with a human in the loop, or it's improvised on the spot within the AI's hidden thinking tokens. One of these choices is preferable to the other.
Re:Verified Spec-Driven Development (VSDD) by manmal on Sunday March 01, 2026 @03:39AM (#47204875)
I agree, and personally I often start with a spec. However, I haven’t found it useful to make this very detailed. The best ROI I‘ve been getting is closing the loop as tightly as possible before starting work, through very elaborate test harnesses and invariants that help keeping the implementation simple.

I‘d rather spend 50% of my time on test setup, than 20% on a spec that will not work.

Re:Verified Spec-Driven Development (VSDD) by virgil_disgr4ce on Saturday February 28, 2026 @10:14PM (#47203286)
> Waterfall never worked for a reason

We're going to need some evidence for this claim. I feel like nearly 70 years of NASA has something to say about this.

Re:Verified Spec-Driven Development (VSDD) by blabla1224 on Sunday March 01, 2026 @01:58AM (#47204360)
It does say - you will never have the time and resources of NASA
Re:Verified Spec-Driven Development (VSDD) by manmal on Sunday March 01, 2026 @03:47AM (#47204925)
While writing the comment, I did think to myself, that NASA did a ton of prototypes to de-risk. They simulated the landing as close as they could possibly make it, on earth. So, probably not pure waterfall either. Maybe my comment was a bit too brusque in that regard.
Re:Verified Spec-Driven Development (VSDD) by virgil_disgr4ce on Tuesday March 03, 2026 @08:48AM (#47232258)
Hehe. Well it's funny because years and years ago I made a similar comment to a person who I highly respected and had way more experience than me and he looked right at me and said, "No, waterfall does work." And it really made an impression on me.

But yeah, there's a point at which you have to ask where waterfall begins and agile ends in reality it's blurry. Prototyping is essentially in most nontrivial problems, so if you count prototyping as agile then shrug but ultimately it doesn't matter what we call it

Re:Verified Spec-Driven Development (VSDD) by Towaway69 on Sunday March 01, 2026 @02:32AM (#47204540)
> NASA has done it, for the moon landing.

Which one? The one in 1960s or the one which has just been delayed - again?

I think you can just as well develop a first spec and iterate on than coding up a solution, important is exploration and iteration - in this specific case.

Re:Verified Spec-Driven Development (VSDD) by manmal on Sunday March 01, 2026 @03:36AM (#47204862)
Iterating on paper in my experience never captures the full complexity that is iteratively created by the new constraints of the code as it‘s being written.
Re:Verified Spec-Driven Development (VSDD) by osigurdson on Sunday March 01, 2026 @09:28AM (#47207004)
"Waterfall" was primarily a strawman that the agile salesman made up. Sure, it existed it some form but was not widely practiced.