Please vote once and for good: range operations

Rainer Deyke rainerd at eldwood.com
Thu Jan 29 18:47:40 PST 2009


Daniel Keep wrote:
>   advanceFront  -- advance the front element by one
>   retreatBack   -- retreat the back element by one

I like this.  Verb instead of noun for action, unambiguous about which
end moves in which direction, and it's symmetrical.

>   nonEmpty	-- as Walter one espoused: negative = bad, positive = good :D

I don't like this.  "!empty" reads better than "nonEmpty", and "empty"
reads much better than "!nonEmpty".


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list