About switch case statements...

bearophile bearophileHUGS at lycos.com
Sun Nov 15 15:40:49 PST 2009


KennyTM~:

> @safe switch ? :p

That's cute. But I was thinking of a safer "caseof" used by default, and the less safe C switch used only for C compatibility :-) ("@unsafe switch" is not possible because it's against D purposes).

Bye,
bearophile



More information about the Digitalmars-d mailing list