RFC on range design for D2

Derek Parnell derek at psych.ward
Tue Sep 9 15:11:58 PDT 2008


On Tue, 09 Sep 2008 10:30:58 -0500, Andrei Alexandrescu wrote:


> I'd like to go with:
> 
> r.first
> r.last
> r.next
> r.pop

LOL ... I was just thinking to myself ... "what's wrong with First and
Last? I should suggest them." then I read this post.

"next" is fine, but "pop"? Isn't the pair of "next" called "prev(ious)" and
the pair of "pop" called "push". So please, either have next/prev or
push/pop, and in that case push/pop looks quite silly.

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell


More information about the Digitalmars-d-announce mailing list