Worst ideas/features in programming languages?
12345swordy
alexanderheistermann at gmail.com
Wed Oct 13 18:29:06 UTC 2021
On Wednesday, 13 October 2021 at 01:56:06 UTC, russhy wrote:
> On Monday, 11 October 2021 at 20:48:47 UTC, 12345swordy wrote:
>> On Monday, 11 October 2021 at 18:27:29 UTC, russhy wrote:
>>>> Worst features implemented in a non-toy language
>>> - GC as a feature
>> This GC phobia is hurting the d language.
>>> - class (reference type)
>> WHY!?
>>
>> -Alex
>
>
> because, as other said, it is hard to differentiate from struct
> (values), you always have to check the symbol signature, wich
> is just annoying
It is not an issue if you have a functional IDE that does the
heavy lifting for you. This isn't a language issue here.
You are doing something very wrong if you find yourself typing
>void pass(Mytype* type) {}
where Mytype is a class. This is not c++ here.
-Alex
More information about the Digitalmars-d
mailing list