in reply to Re: Clever vs. Readable
in thread Clever vs. Readable

Yeah, but what happens when this simplistic (not simple) approach is taken in the wild is that the if/else grows into a 300 line if/elsif and the else to catch fail cases never seems to be there. I'm going through this again at work because a very experienced and generally intelligent manager there would rather do an open-ended if/elsif tree than a hash lookup, "Because it's easier to read."