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

bearophile bearophileHUGS at lycos.com
Fri Jan 30 01:24:58 PST 2009


popFront, and popBack:

An alternative possibility is to have "pop" and "popFront", where "pop" removes from the back.

In Python you can use pop() to remove from the back and pop(0) to remove from the front, but I presume this isn't much appreciated in D.

Bye,
bearophile



More information about the Digitalmars-d mailing list