Let's do front, back, popFront, and popBack!

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Jan 30 08:26:12 PST 2009


Sergey Gromov wrote:
> Thu, 29 Jan 2009 18:54:14 -0800, Andrei Alexandrescu wrote:
>> Let's!!
> 
> I like it.  I think this even was proposed before but was rejected
> because of Walter's attitude towards composite primitive names.  I also
> like the symmetry because ranges are a more generic construct than
> single-linked lists where head et al. come from.
> 
> Probably I don't like capitalization in built-in primitive names, it
> smells of C#.  I'd prefer popfront and popback.

Me too, but it would run counter to the prevailing naming convention in 
phobosAtLeast. There are many places in phobos where that's not 
respected though...

Andrei



More information about the Digitalmars-d mailing list