RS> TM> --> Does it help you if I tell you that well designed
RS> TM> --> code doesn't contain many switch statements?
RS> NH> How many is too many?
RS> He may be referring to the fact that Windows code was
RS> notorious for very long and difficult switch
RS> statements...
In an API application, the whole WndProc() function is
nothing but a huge switch statement to handle WM_ messages.
In MFC applications, you never see the switch construct.
Maybe there is a faction among C++ programmers who believe
that there is no such thing as a well designed Windows
program? ;)
> ] It's never funny when you have to explain it. [ Joe Friday ]
---
---------------
* Origin: *YOPS ]I[* 3.1 GIG * RA/FD/FE RADist * Milwaukee, WI (1:154/750)
|