About switch case statements...
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Nov 15 13:03:39 PST 2009
Walter Bright wrote:
> Don wrote:
>> And looking at how rarely it's actually used by someone who thinks he
>> uses it a lot, convinces me that intentional use of fall-through is
>> much less common than bugs introduced by leaving out a break statement.
>
> Except that I cannot recall ever having a bug from leaving out a break <g>.
I can. I'm not sure where that leaves us. Others - please add your
experience.
Andrei
More information about the Digitalmars-d
mailing list