Against the use of "if" statments. Is there always a "clean" alternative?
- by Zubair
I have recently seen alot of activity saying that "if" statements should be banned. However in some of the alternatives people are just doing an "if" statement but discussed as a "case" statement, or as an overloaded function in pattern matching languages. Is it really such a clean solution to replace a well understood concept with a more obscure one?