What are the worst parts of D?

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 22 01:49:31 PDT 2014


On 21 September 2014 15:54, Andrei Alexandrescu via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On 9/21/14, 1:27 AM, ponce wrote:
>>
>> On Saturday, 20 September 2014 at 12:39:23 UTC, Tofu Ninja wrote:
>>>
>>>
>>> What do you think are the worst parts of D?
>>>
>>
>> Proper D code is supposed to have lots of attributes (pure const nothrow
>> @nogc) that brings little and makes it look bad.
>
>
> No because deduction. -- Andrei

Agreed.  The time when you want to explicitly use these attributes is
if you want to enforce @nogc, pure ...

As it turns out, it is a good idea to enforce these from the start,
rather than after you've written your program.

Iain


More information about the Digitalmars-d mailing list