What are the worst parts of D?
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Sat Sep 20 09:54:08 PDT 2014
On 9/20/14, 7:42 AM, Tofu Ninja wrote:
> On Saturday, 20 September 2014 at 12:39:23 UTC, Tofu Ninja wrote:
>> What do you think are the worst parts of D?
>
> Oh another bad part of D is the attribute names with some being
> positive(pure) and some being negative(@nogc) and some of them not
> having an @ on them.
If that's among the worst, yay :o).
My pet peeves about D gravitate around the lack of a clear approach to
escape analysis and the sometimes confusing interaction of qualifiers
with constructors.
For escape analysis, I think the limited form present inside
constructors (that enforces forwarded this() calls to execute exactly
once) is plenty fine and should be applied in other places as well.
For qualifiers, I think we need an overhaul of the interaction of
qualifiers with copy construction.
Andrei
More information about the Digitalmars-d
mailing list