TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: NEIL HELLER
from: ROGER SCUDDER
date: 1997-09-03 13:58:00
subject: WHY THE BRACES?

Hi NEIL,
NEIL HELLER was observed on 01-Sep-97, writing to THOMAS MAEDER
          Something about: WHY THE BRACES?
 TM>> Does it help you if I tell you that well designed code  doesn't
 TM>> contain many switch statements?
 NH> How many is too many?  Should the switch statement be treated the
 NH> same way goto is: only under duress? (and then, don't let anybody
 NH> know you did it)?
 He may be referring to the fact that Windows code was notorious
 for very long and difficult switch statements... In Windows 95
 they have implemented special macros known as "message crackers"
 that replace most of the long switch statement code.  It's still
 very complex, but it makes it a hell of a lot easier for mortal
 applications programmers.
 Roger Scudder
 rogers@gim.net
... Win 95 Optimization Pack...***FREEWARE***...Includes: HDFORMAT, DELTREE..
--- Terminate 5.00/Pro 
 * TerMail/QWK * Terminate SmartNote: Remembers & recalls everything!
--- WILDMAIL!/WC v4.12 
---------------
* Origin: FIDONET * Remote Control BBS * 610-623-5273 * (1:273/420.0)

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