'int' is enough for 'length' to migrate code from x86 to x64

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 21 03:01:16 PST 2014


> On Friday, 21 November 2014 at 09:37:50 UTC, Walter Bright wrote:
> > I thought everyone hated foreach_reverse!

Not me.  It's ugly but it gets the job done.  All I have to do is add 
'_reverse' and it just works!

"Stefan Koch"  wrote in message news:mmvuvkdfnvwezyvtcceq at forum.dlang.org...
> I dislike foreach_reverse;
> 1. it's a keyword with an underscore in it;

So what.

> 2. complicates implementation of foreach and parsing.

The additional complexity is trivial.

> 3. key_word with under_score

Don't care. 



More information about the Digitalmars-d mailing list