About switch case statements...

Leandro Lucarella llucax at gmail.com
Sun Nov 15 16:16:26 PST 2009


Walter Bright, el 15 de noviembre a las 12:13 me escribiste:
> 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>.

A lot of people do.

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Yo soy peperino el que siempre pone el vino, yo soy aquel que come los
huevos con tocino.
	-- Peperino Pómoro



More information about the Digitalmars-d mailing list