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

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)

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™.