Worst ideas/features in programming languages?
deadalnix
deadalnix at gmail.com
Fri Dec 17 15:48:57 UTC 2021
On Thursday, 11 November 2021 at 02:20:50 UTC, Timon Gehr wrote:
> "Add an empty invariant to your types for maximum type safety",
> "we have constructors, but your types have to cope with
> arbitrary bit patterns anyway" or "this thing is @safe but some
> compiler backends may treat it as UB anyway" are The Last Thing
> D Needs.
This is unfortunately true. This is pervasive in D and by far the
biggest practical problem with it.
More information about the Digitalmars-d
mailing list