Worst ideas/features in programming languages?
Dr Machine Code
jckj33 at gmail.com
Sun Nov 14 19:03:43 UTC 2021
On Monday, 11 October 2021 at 20:51:13 UTC, Adam D Ruppe wrote:
> On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:
>> [...]
>
> Well not a feature per se, but the idea that number of keywords
> or number of features really matters.
>
> People argue you should remove things just to remove things.
> But this often just moves the inherent difficulty of
> programming from the language to the code.
>
> You don't wanna go too far with it, of course, but there is
> simple metric here.
>
>> [...]
>
> The whole int promotion and casting mess. Two ideas that sound
> fine in isolation but make things just nearly unusable in real
> life when combined.
>
>> [...]
>
> Explicit implicit construction. Minimally on return values, but
> also on function arguments would be nice.
>
> Note the constructor called implicitly must be explicitly
> labeled implicit.
could you give an example on how those features would be like?
More information about the Digitalmars-d
mailing list