Ruby-style "each" in D?
Jacob Carlborg
doob at me.com
Fri Mar 21 05:51:35 PDT 2014
On Friday, 21 March 2014 at 00:42:00 UTC, Walter Bright wrote:
> Right on.
I'm using Ruby every day. I don't really see much point in having
"each" in D. We already have "foreach". Ruby uses "each" since it
doesn't have "foreach". It to have a "for", which is a form of
foreach, but that is just lowered to "each" anyway.
Also, I don't see a point in having "each" which is lazy.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list