Worst ideas/features in programming languages?
Adam D Ruppe
destructionator at gmail.com
Mon Oct 11 20:51:13 UTC 2021
On Monday, 11 October 2021 at 15:59:10 UTC, Atila Neves wrote:
> * Worst features implemented in a non-toy language
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.
> * Worst features (in your opinion) in D
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.
> * Features you'd like to see in D
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.
More information about the Digitalmars-d
mailing list