DM> But... but... there ARE cases where gotos make sense. Avoiding goto
DM> Avoiding gotos at all costs is not. Sometimes, they just make sense
DM> three levels of indentation via a single goto will actually increase
DM> readability... sometimes.
TM> Just make a (inline) function of these loops and return.
TM> More, I don't have three levels of indentation in my functions/methods
TM> anyhow. They would be too long for my taste usually.
When I can, I do.
But sometimes the coupling between the inline function and the caller is too
much... I don't like passing fifteen parameters... most of which need to be
passed by reference...
--- Maximus/2 3.01
---------------
* Origin: Tanktalus' Tower BBS (1:250/102)
|