About switch case statements...

Walter Bright newshound1 at digitalmars.com
Sun Nov 15 12:13:32 PST 2009


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>.



More information about the Digitalmars-d mailing list