Name: Anonymous 2009-06-26 7:36
http://www.antiifcampaign.com/articles/the-simplest-anti-if-code.html
Avoid dangerous IFs and use Object Oriented Principles to build a code that is flexible, changeable and easily testable, and will get rid of a lot of headaches and weekends spent debugging!
Become aware of the design consequences of using IFs and of control structures in general!
Achieve more effective results in terms of flexibility, comprehensibility, testability, and ability to evolve!
Avoid dangerous IFs and use Object Oriented Principles to build a code that is flexible, changeable and easily testable, and will get rid of a lot of headaches and weekends spent debugging!
Become aware of the design consequences of using IFs and of control structures in general!
Achieve more effective results in terms of flexibility, comprehensibility, testability, and ability to evolve!