About switch case statements...

bearophile bearophileHUGS at lycos.com
Mon Nov 16 04:37:22 PST 2009


Don:

> (providing that empty fall-through case statements remain valid; 
> disallowing them would be really annoying).

What's bad about forcing people to write:
case A, B, C:

Instead of:
case A:
case B:
case C:
?

Bye,
bearophile



More information about the Digitalmars-d mailing list