Enhancing foreach
monarch_dodra
monarchdodra at gmail.com
Thu Jan 10 01:20:31 PST 2013
On Thursday, 10 January 2013 at 02:04:57 UTC, ixid wrote:
>
> Regardless of this particular suggestion's value, I think
> you're wrong to dismiss readable terseness and saving typing as
> mattering, it's one of D's advantages over C++ that it makes a
> lot of things far easier to do and understand because they're
> not a horrid mess.
The difference is that D allows doing in a single instruction
what C++ would require several. It is actually less *code*, less
duplication, less potential for bugs: New FUNCTIONALITY.
What you are proposing isn't much of that, it's just making you
type less...
More information about the Digitalmars-d-learn
mailing list