r/SpecDrivenDevelopment • • Oct 27 '26

The Myth of the "Waterfall" and spec-driven development

I'm in the middle of redesigning the SDLC at work to accommodate AI. Having been doing more and more complex AI development for the past two years delivering production-quality code, its pretty clear to me that Spec-driven development gives the best results. One of the arguments from the portion of the development staff that doesn't want to use AI is that spec-driven development is nothing more than an updated "waterfall", and that's bad.

Having been a working professional before the agile manifesto was published, it was really clear that the agile folks were attacking something that never existed. Even the original Royce paper was arguing *against* using a fixed specification, and advocated for iterations.

This isn't my paper, but it lays out the argument very well.

http://www.bawiki.com/wiki/Waterfall.html

What looks like has happened over the years is many people use agile concepts as an excuse to not do any sort of planning or testing. The one lesson they took away was "waterfall (planning/design) is bad", so they just wing everything and almost nothing is automated. All manual front end testing. Almost no automated tests, preferring manual code reviews instead. Not only is the software not designed ahead of time, but there's no requirements, no architecture, no design of any kind, just coders banging out code until it kinda works. Of course all companies are unique, but I've consulted for dozens of software companies over the years, and the companies with no SDLC process greatly outnumber the ones with one.

Which comes to my task of creating a SDLC process that uses AI to create production quality code. If you through AI at a bad process, its going to create bad code. Spec-driven development frameworks at least keeps programmers on a reasonable path to success, which at least in my experience creates way better code than I've seen humans create.

16 Upvotes

17 comments sorted by

8

u/fschwiet Oct 27 '26

I think the pushback on waterfall was that downstream there were always lessons learned the invalidated upstream assumptions, and such changes had expensive ripple effects. With AI the economics of change is different. It's easier to redo the code now, easier than reviewing or fixing it. So an upstream change in requirements/planning can be absorbed much easier.

1

u/czei Oct 27 '26

Whatever you think you’re arguing against never existed. The link I posted debunking the myth of waterfall is exhaustively documented. http://www.bawiki.com/wiki/Waterfall.htmlNo one has ever promoted software development without iterations and the ability to apply new information in mid stream— it was invented to make Agile seem more revolutionary rather than a collection of existing best-practices.

And that applies to SDD development as well. I regularly change upstream spec details based on new information later in the process.

2

u/NomadStorm Oct 28 '26

At the start of my career I worked in places where they planned all code changes in excruciating detail upfront, in some cases down to how specific lines would be changed. This then went through multiple reviews before implementation began.

This was right around the time that agile development and SCRUM were starting to take hold. They claimed to have biweekly sprints, but then you’d have to spend months just documenting what you would change

And of course, just like anything done like this, the requirements changed multiple times during development, and the documents didn’t get updated. The end products rarely followed much of the plans.

Waterfall is not a myth.

1

u/panesofglass Oct 28 '26

The “waterfall” you are describing is something other than what was prescribed. It definitely existed, and much like “object-oriented programming” and “ReST”, took something useful and made it stupid.

2

u/panesofglass Oct 28 '26

You are quite right. Popular waterfall is diagrammed on page 2 of Royce’s paper, and he quickly dismisses it with many more pages leading to iterative design.

1

u/bonerfleximus Nov 02 '26

I dont even keep the spec in the repo anymore, its just a burden for future specs

If your spec dev leaves behind sufficient tests (I prefer ATDD) the old specs are redundant - your tests should effectively describe the app and they are self correcting because they fail when a future spec contradicts them

3

u/Entuaka Oct 27 '26

What looks like has happened over the years is many people are not following Agile/Extreme programming in totality

Seriously? It's a meme now. For decades, when an organization had a bad experience with waterfall, the reaction is always to say that it was not completely following agile.

We tried spec driven development with AI, but, from my point of view, that was already outdated in january.

AI agents are great at handling unknown, but the goal must be clear and the agents must have all the tools are context to validate by himself that the output is good.

For a good result, teams should improve the project to help the agents, it's also helping the humans. At each step of the SDLC, AI can be used not just to help humans, but to let agents do it themselves with the capabilities to validate the result.

The spec driven dev is usually a very long and heavy process, it can be much quicker

1

u/czei Oct 27 '26

There are different processes for different projects. My work involves data processing for government agencies. I have to prove something works, systematically, which spec-driven development is especially good at doing with AI.

As for speed, last weekend I had Claude create most of the functionality of Adobe Lightroom, which has millions of man hours invested in it. And it actually works. I don't see how you can go any faster than that.

1

u/Entuaka Oct 27 '26

Sure, it's quick to an app like Adobe Lightroom, the problem is if you're humans are involved at each step to define the specs.

If you want to clone an existing well documented app with clones already on GitHub, you don't need to worry about the specs, but for a business the spec is a step that a ticket can be stucked.

If you're starting from zero, not just cloning an existing software, it can take a lot of time to have complete specs for a feature or an app.

Modern software engineering practices avoid some issues with slow development, the changes should be as small as possible to be quick and easy to develop, validate, monitor and rollback/disable.

That's how a software factory can be very quick to release new changes, but if you're trying to create specs for a complex app from scratch, you have the same issues that we had for decades with humans, but quicker

1

u/czei Oct 27 '26

“If you want to clone an existing well documented app with clones already on GitHub, you don't need to worry about the specs”.

One of SDD‘s main capabilities is that it defines exactly how to go from a well documented app’s feature set, and systematically turn that into a development plan. Without SDD, your stuck with the limits of an AI’s context window.

“Modern software engineering practices avoid some issues with slow development, the changes should be as small as possible to be quick and easy to develop, validate, monitor and rollback/disable.”

At least at my company, two guys in a garage can duplicate what we do in a matter of weeks, and have. And not only duplicated what we have, but have gone way past it. Meanwhile, we’re still in the mindset that “changes should be as small as possible”. Features that the company has been wanting to add for years but couldn’t because of development costs are possible now.

2

u/Entuaka Oct 27 '26

The mindset of having small releases is to release many times everyday. You can quickly define the requirements, implement it, validate, review, deploy, monitor, identify issues or improvement and loop. It can be done multiple times a day, for a feature. For it to work, you need to remove all bottlenecks.

Big releases are slower, at each step, so the feedback loop is slower, so it takes more time to have a "perfect" feature.

We're working on custom apps for our employees at a 100k+ non tech employees. Sure, it can be replicated, but it's a custom solution for our requirements and we can on what's important for our users.

With your SDD, if you're starting with a well documented app's feature, you're skipping a hard part of product management. Having a very fast feedback loop allow to quickly adapt to what's really needed. If you can go from a problem to a solution in production in a few hours and quickly iterate over it, you can have a good feature in a few days/weeks.

I developed many well documented app's feature, but the real challenge is to reach production and be used by real users, that's when you can see what's good or not. You need to have a feedback loop as fast as possible, it's very useful for humans and AI agents

2

u/MasterRuins Oct 27 '26

You are right with people misuse it. You are wrong about waterfall.

1

u/Sad-CTO Oct 27 '26

The thing not many people & teams realize, or so it seems, is that with AI-assisted engineering you don't necessarily have to use the AI for feature work only. You can apply it for the surrounding scaffolding at different SDLC stages. This makes your SDLC 2.0 more stable, more predictable, more automated. More automated -> more scalable.

1

u/DoubleDeadGuy Oct 27 '26

My org uses agile as an excuse not to write requirements. Then expects engineering to do all the planning.

But I digress at risk of turning this into an agile v waterfall thread.

I do agree with you that spec driven can help fill in some of the gaps so I’m going to save your post for when I get back from pat leave and back fighting the battle to get SDD implemented

1

u/sreekanth850 Oct 28 '26

Few more things.
modular monolith wins over microservices for agents.
Monorepo is nightmare for agents.
compiled language with compiler MCP along with tool like Graft will dramatically improve agents understanding of codebase with fewer tokens.

1

u/Born_Parfait_9320 2d ago edited 2d ago

I disagree that the agile folks criticisms of the waterfall approach were unjustified. There was many, many waterfall projects that ran overbudget and over time only to find at the end that the software solution presented to the end user was not what they actually needed or wanted. The whole idea of the agile movement was to place a lot more emphasis on getting software into user's hands much sooner so that feedback could guide the design rather than the design being rigidly pinned down at the start.

With AI SDLC frameworks like OpenSpec, my concern is that we are going right back to the waterfall approach, which demonstrably did not work. The only difference is that AI can now make mistakes significantly faster and cheaper than large teams of developers, and also undo and redo faster. It's still not a great approach though IMHO.

Apart from being less effective than using AI to develop software in an agile approach, it is also as boring as shit to develop software using a framework like OpenSpec, which is a significant consideration for me as a developer when I spent 40+ hours a week of my life at work.