NH> How many is too many? Should the switch statement be treated the sa
NH> way goto is: only under duress? (and then, don't let anybody know yo
NH> did it)?
TM> No. There are some cases where switch statements make sense. There
TM> aren't any cases where gotos make sense.
But... but... there ARE cases where gotos make sense. Avoiding gotos is
good. Avoiding gotos at all costs is not. Sometimes, they just make sense.
Reducing three levels of indentation via a single goto will actually increase
readability... sometimes.
--- Maximus/2 3.01
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)
|