On Sun, Nov 15, 2009 at 1:03 PM, Andrei Alexandrescu <[email protected]> wrote: > 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.
I have without a doubt forgotten a "break". Many times. Last one was probably just a week or two ago. Of course now after years of C and C++, I'm more attuned to it, so it didn't take that long to figure out where the bug is. But still it's annoying. --bb
