Why is D unpopular?

max haughton maxhaton at gmail.com
Mon May 23 22:42:52 UTC 2022


On Monday, 23 May 2022 at 22:05:23 UTC, forkit wrote:
> On Monday, 23 May 2022 at 14:07:32 UTC, deadalnix wrote:
>> On Monday, 23 May 2022 at 13:55:34 UTC, wjoe wrote:
>>> On Monday, 23 May 2022 at 09:45:21 UTC, claptrap wrote:
>>>> [...]
>>>> Asserts are removed in release mode unless it is assert(0). 
>>>> Its idiotic.
>>>
>>> Isn't that C behavior though?
>>
>> C asserts are included or not based on various defines.
>
> It's rather odd, that it's so much easier in C.
>
> // uncomment to disable assert()
> // #define NDEBUG
>
> (whereas) .. So much mucking around in D. It's ridiculous.

It's a command line option versus a macro (likely supplies on the 
command line). It's just fuss over nothing.


More information about the Digitalmars-d mailing list