java coding madness

if you have a method with 8 SWITCH statements with a combined total of 25 CASEs and 4 DEFAULT actions. And sprinkled throughout switch land is 41 IF statements, of which 15 have &&, ||, or both… and sprinkled all over SWITCH-and-IF ‘ville you have 5 or so try/catch clauses that throw exceptions, and in many cases catch them do some more stuff, and then re-throw them…. at what point should you have looked up from the smoking keyboard and asked yourself…. wtf?

Advertisements

Post a Comment

Required fields are marked *

*
*

%d bloggers like this: