Worst ideas/features in programming languages?

russhy russhy at gmail.com
Wed Oct 13 01:56:06 UTC 2021

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

``void pass(MyType* type) {}``
``void pass(MyType type) {}``

you can't know what is a type or the pointer of a reference type, 
having to guess / context switch to go check symbol signature is 
a pain

More information about the Digitalmars-d mailing list