DMD 0.170 release

Walter Bright newshound at digitalmars.com
Tue Oct 17 12:01:03 PDT 2006


Lars Ivar Igesund wrote:
> But foreach_reverse is such an ugly name, then I like 'reveach' (courtesy of
> Mr Panek) much better :P

The saving grace about foreach_reverse is:

1) Only a small (5% ?) of loops will be reverse, so you won't see it or 
need to type it that often.

2) It's very clear what it does.

3) It isn't likely to conflict with other names.

4) It is analogous with C++'s reverse_iterator names.



More information about the Digitalmars-d-announce mailing list