Problem with if statment[quote]What if, in the future, the definition of TOTAL changes to something more complex (and time c...
Problem with if statmentIf you have a calculation that takes 10 seconds (or some insane time) to compute, then it's fine to ...
Problem with if statment[quote]It also goes back to code readability & ease of understanding.[/quote] Like I said before,[qu...
Problem with if statment[quote]I did say it was convoluted ;-)[/quote] Haha, indeed. [quote]How about if that function perf...
Problem with if statment[quote]In this example it's not too bad, but consider the following (admittedly convoluted) example:...