foreach_reverse is better than ever
Michel Fortin
michel.fortin at michelf.com
Sun Feb 14 08:54:08 PST 2010
On 2010-02-14 09:34:16 -0500, bearophile <bearophileHUGS at lycos.com> said:
> Python use verbs in past tense (like "sorted", "reversed", etc) to
> denote something that doesn't change the given input (while "sort"
> sorts in-place).
That certainly is a useful convention to make things easier to read.
I'd very much like to see it used in D.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list