shorter foreach syntax - C++0x range-based for

Torarin torarind at gmail.com
Mon Nov 1 08:23:50 PDT 2010


Pilsy:
> D is as much Java++ as it is C+=2.

Andrei:
> Java did a lot of things right (be they novel or not) that are present in D

Even if Java did only a single thing right, it would be silly to not
adopt it just to avoid "embarrassment".

Anyway, I think it's a nice syntax.


More information about the Digitalmars-d mailing list