Case Range Statement ..

Leandro Lucarella llucax at gmail.com
Tue Jul 7 12:09:03 PDT 2009


Walter Bright, el  7 de julio a las 10:46 me escribiste:
> Leandro Lucarella wrote:
> >I think the ... operator makes perfect sense because it's more general,
> >yo could use array[X...Y] and case X..Y: where appropriate.
> 
> and
> 
> >doesn't look so bad though, but I think it could be easy to miss the ".."
> >when reviewing the code
> 
> If it's easy to miss .., then it ought to be really easy to miss the
> distinction between .. and ... !

As another people said, use another way to write inclusive range, but keep
things consistent =)

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
UNA ARTISTA HACE JABONES CON SU PROPIA GRASA LUEGO DE UNA LIPOSUCCION
	-- Crónica TV



More information about the Digitalmars-d mailing list