TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: THOMAS MAEDER
from: DARIN MCBRIDE
date: 1997-09-15 08:07:00
subject: WHY THE BRACES?

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.