DMD 0.170 release
Russ Lewis
spamhole-2001-07-16 at deming-os.org
Tue Oct 17 13:16:29 PDT 2006
J Duncan wrote:
> Vladimir Kulev wrote:
>
>> Agree with you, foreach_reverse is unnecessary feature, so it should not
>> exist.
>
> Disagree with you, its a nice thing to have.
Could we make the statement that the old construct
foreach(int i; a) {...}
is now considered to just be syntax sugar for:
foreach(int i; a.opApply) {...}
and similarly for foreach_reverse?
If so, then really the question here is whether we think this syntax
sugar is worth having.
Russ
More information about the Digitalmars-d-announce
mailing list