views:

434

answers:

4

Can you please give a methodology that stands to alleviate the disadvantages of waterfall model?

A: 

The waterfall model should not be used for any software projects with only a few exceptions. The only time you should use the waterfall method is when you are working with very complex systems that require ALL possible features be implemented or when they fail (or have bugs) cause people to die. Nuclear reactors, traffic signals and the like are good examples of when the waterfall method should be used.

Instead, the method I am almost positive you should be using is the Agile Method.

DJTripleThreat
+1 for not disregarding Waterfall completely.
Anurag
Thanks. I also agree that polarization is bad. There are grey areas in almost every dichotomy.
DJTripleThreat
-1 Waterfall is not used in safety critical systems either - many use a form of continuous integration, and very heavy use of simulation to provide feedback for design iteration.
Pete Kirkham
@Pete - Waterfall does not mean developers are not allowed to touch a computer. Design validation for (safety/mission/..) critical systems using computer simulations or equations on a piece of paper is still a design activity, and thus Waterfall.
Anurag
@DJTripleThreat: I am baffled. How can you know that the author of the OP should be using agile? He just asked about waterfall. You have no idea what his/her methodological requirements are. How's that for polarisation!?!?
CesarGon
@CesarGon, I am baffled at your attempt to troll. 0/10.
DJTripleThreat
@DJTripleThreat: No trolling, sorry. Can you explain please on which grounds you can state that "the method I am almost positive you should be using is the Agile Method", given the little information that the OP has provided? I think *this* is a legitimate question, and not trolling at all. I await your answer.
CesarGon
@CesasrGon, you are trolling. I said 'almost positive' not 'use agile or else'. Nowhere in my answer do I 100% assume that this person should be using agile development. Also, the fact that you are willing to continue debating about a 5 month old post about something so trivial proves to me that you are a troll. Responding to this comment will just prove that point.
DJTripleThreat
+5  A: 

The problem with Waterfall is that it consists of monolithic stages, each building on the previous stage. So the code is developed in one chunk after the entire system has been designed, which in turn happened after all the requirements have been gathered and signed off.

The problem is, any change has to be ratified by a complex procedure and rippled through all the stages. But the lesson of history is: change happens. The requirements are always incomplete, or mis-specified or simply out-of-date by the time we get to coding. Too often design and build proceed on the basis of assumptions which are nullified when the system gets to UAT. This leads to frantic re-work and slippages.

The truth is not many customers are good at the sort of abstract thinking required to envisage a working software software system. And too many IT professionals lack the experience necessary to understand business logic. Waterfall refuses to accept these truth.

The only honest requirement specification is "I'll know it when I see it". So it is crucial to get working software in front of real users as soon as possible. Any methodology which focuses on delivering working software incrementally in short iterations will "alleviate the disadvantages of waterfall model".

Originally that was RAD or DSDM. Then XP tok up the banner. Now there is Agile and related things like Scrum and Kanban.

So why do people persist with the Waterfall method?

There is a common perception that Agile is just a cover for cowboy hackers to ditch all the boring process stuff and get on with what they enjoy most: writing code. The branding of "Extreme Programming" certainly encourage this thought, and, let's be honest, it is not an unfounded allegation. That is, some coders pretend to be agile as an excuse not to plan, design or document. This does not reflect the actual practice of Agile, which require just as much rigour as any other methodolgy.

Also Agile requires a much greater commitment of time from the customer's staff, which many organizations are loath to accept. Also the people footing the bill may be unwilling to empower their junior staff to make decisions. There is an important distinction between Customer and User.

When it comes to outsourcing the waterfall model provides an easy framework for matching deliverables to staged payments. Indeed the contractual aspect maybe stronger than that: in the EU Waterfall is mandated for all projects valued at EUR 100m or more.

Finally, there are projects where Waterfall works well. These projects have knowledge domains which are stable and well-understood by both the customers and the developers.

last word

Despite its failings Waterfall has delivered many projects successfully. This is because hard work, aptitude and integrity are more important than methodology.

APC
Agile methodology and "Extreme Programming" are not cowboy methodologies. In fact, they require as much if not more discipline than waterfall methods (if done correctly). Unfortunately, a lot of people use them as excuses for doing cowboy coding with no discipline.
kyoryu
@kkoryu - We are in agreement. I have clarified my position.
APC
i like your 'last word' good way of looking at it
Uncle
+1  A: 

The waterfall model was documented in 1970 by a Dr Winston Royce in a paper titled 'Managing the development of large Software Systems'. Basically outlining his ideas on sequential development. His idea was that software could be produced in a similar fashion to an automobile, where the vehicle is pieced together in sequential/linear phases.

This linear approach doesn't really allow for changes in a piece of software once it begins. There is no tight relationship with the end user/client so its harder to outline possible problem areas.

Its worth noting some phases of the waterfall model allow for 'splashback' whereby there is enough time in the development period to go back and make small changes. Time constraints and the amount of work involved and budgets don't really allow for much change if any to be made using this model.

The waterfall model is old, as time goes by software paradigms themselves change. Object Oriented programming is popular, back then it was barely alive. Through the use of the waterfall model its obvious that the flaws have been spotted and this has lead to the alternative development methodologies.

Ok, so now for alternatives. Incremental model is described by Alistair Cockburn(2008) as a staging and scheduling strategy in which various parts are developed at different times or rates and integrated upon completion of that specific part.

Basically incremental looks a lot like this:

Analysis->Design->Code->Test
  Analysis->Design->Code->Test
  Analysis->Design->Code->Test

Number of benefits include lifecycle being flexible and allowing for change from the get go. Working software or rather parts are generated quickly and early on. Code produced is earlier to test and manage due to the small iterations of progress. Not all of the requirements of the system are gathered up front, just an outline. This allows for a quick start, however it might be a disadvantage in some systems as things like the system architecture being supported might be missed.

Iterative on the other hand allows parts of the system to be reworked and revised to improve the system. Time is set aside to allow for this. Iterative does not start with a full specification of requirements. Development is done by specifying and implementing just part of the software. Software is reviewed in order to identify further requirements.This is more of a top down approach. Disadvantages with this methodology are making sure all the iterations are compatible. As each new iteration is approved, developers may employ a technique known as backwards engineering, which is a systematic review and check procedure to make sure each new iteration is compatible with previous ones.A major benefit with the constant iterations is that the client is kept in the loop and the final product should meet the requirements.

Iterative approach diagram.

Other methodologies include Prototyping. Evolutionary and Throwaway. These are also deemed as more of a top down approach. Both process are borrowed from engineering.In engineering it is common to construct scale models of objects to be built. Building models allows the engineer to test certain aspects of the design. The software development prototyping methodology provides the same ideology. Prototyping is not seen as a standalone, complete development methodology but rather an approach to handling selected portions of a larger, more traditional development methodology.

Throwaway Prototyping - Throwaway prototyping does not preserve the prototype that has been developed. In throwaway prototyping there is never any intention to convert the prototype into a working system. Instead the prototype is developed quickly to demonstrate some aspect of a system design that is unclear. It can also be developed to help users or clients decide between different features or interface characteristics. Once any problems or uncertainty has been addressed the prototype can be ‘thrown away’ and the principles learned used in the design and documentation of the actual product.

Evolutionary Prototyping - In Evolutionary prototyping you begin by modeling parts of the target system and if the prototyping process is successful you evolve the rest of the system from those parts. One key aspect of this approach is that the prototype becomes the actual production system. This process allows for difficult parts of the system to be modeled successfully in prototypes and dealt with early on in a project.

Other areas to look into will include Agile-> SCRUM, Extreme programming, Paired programming etc.

Tried to keep it short but people write books on this sort of stuff and there is so much to discuss.

Might be worth having a look at: Incremental and Iterative

Uncle
Incremental lifecycles were described back in the 1990s at least; see TeamFusion at HP for example.
CesarGon