Worst ideas/features in programming languages?
Atila Neves
atila.neves at gmail.com
Fri Nov 5 17:02:05 UTC 2021
On Tuesday, 12 October 2021 at 21:38:48 UTC, Timon Gehr wrote:
> On 10/11/21 5:59 PM, Atila Neves wrote:
>> ...
>
> This is likely to be incomplete or overly abstract, but here's
> my approximate take:
>
>> * Worst features implemented in a non-toy language
>
> - Turing-complete constructors
Care to explain?
> - @safe `void` initialization
For what types? It doesn't compile for pointers, for instance,
and I don't see why void initialising an int would be unsafe.
> - @safe extern(C) function prototypes
Instead of @trusted, you mean?
> - .init
Because?
> - separation of templates and CTFE
What would it look like if they weren't separated?
> - interaction of type qualifiers with reference types
I'd love to know what you mean by this.
More information about the Digitalmars-d
mailing list