RFC on range design for D2

Leandro Lucarella llucax at gmail.com
Tue Sep 9 09:41:37 PDT 2008


Andrei Alexandrescu, el  9 de septiembre a las 10:30 me escribiste:
> >I think STL refugees can deal with it. I think there is no point on keep
> >compromising D's readability because of C/C++ (you just mentioned enum,
> >another really bad choice to keep C/C++ refugees happy).
> 
> I agree. I just don't think that choosing one name over a synonym name 
> compromises much.
> 
> >I find left and right a little obscure too, it all depends on your mental
> >image of a range. Using front/back or begin/end is much more clearer.
> 
> I'd like to go with:
> 
> r.first
> r.last

Much better, thank you! =)

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
De todos los amigos que he tenido, eres el primero.
	-- Bender


More information about the Digitalmars-d-announce mailing list