Does D have too many features?

deadalnix deadalnix at gmail.com
Sun Apr 29 14:25:19 PDT 2012


Le 29/04/2012 03:06, bearophile a écrit :
> Jonathan M Davis:
>
>> * foreach_reverse is essentially redudant at this point (not to mention
>> confusing if combined with delegates), since we have retro.
>
> retro() can't replace foreach_reverse until the front-end
> demonstrability produces asm code equally efficient.
> Loops _must_ be fully efficient, they are a basic language construct,
> this is very important. Even foreach() is sometimes not equally
> efficient as a for() in some cases...
>

This is an implementation issue and shouldn't be an argument for 
language design.


More information about the Digitalmars-d mailing list