M
Mark Broadbent
How on earth did Anders & co arrive at this awful switch/ case/ select
statement?
Not only does it lose the abilty to do an intelligent switch a-la VB
eg. using >, <, list of values etc
.... but it also lacks a "C# feel"
e.g. I would have expected a brace pair to be required between each case
label
.... and the break to prevent fall thru is pointless?
Am I misguided in thinking that Anders has tried to adhere to the C++ case
without thinking about improving this logical construct?
=OR=
Am I miguided about it's usefulness (or lack of) ... and I do know you can
jump to different labels?
=OR=
Has is been made like this for a design reason (i.e. to prevent certain
kinds of poor logical design)
=OR=
A.N.Other.
Be interested in any opinions.
--
Br,
Mark Broadbent
mcdba , mcse+i
=============
statement?
Not only does it lose the abilty to do an intelligent switch a-la VB
eg. using >, <, list of values etc
.... but it also lacks a "C# feel"
e.g. I would have expected a brace pair to be required between each case
label
.... and the break to prevent fall thru is pointless?
Am I misguided in thinking that Anders has tried to adhere to the C++ case
without thinking about improving this logical construct?
=OR=
Am I miguided about it's usefulness (or lack of) ... and I do know you can
jump to different labels?
=OR=
Has is been made like this for a design reason (i.e. to prevent certain
kinds of poor logical design)
=OR=
A.N.Other.
Be interested in any opinions.
--
Br,
Mark Broadbent
mcdba , mcse+i
=============