Why does nobody seem to think that `null` is a serious problem in D?
Stefan Koch
uplink.coder at googlemail.com
Thu Nov 22 15:50:01 UTC 2018
On Thursday, 22 November 2018 at 15:38:18 UTC, Per Nordlöw wrote:
> The natural way forward for D is to add static analysis in the
> compiler that tracks use of possibly uninitialized classes (and
> perhaps also pointers). This has been discussed many times on
> the forums. The important thing with such an extra warning is
> to incrementally add it without triggering any false positives.
> Otherwise programmers aren't gonna use it.
I'd say the problem here is not just false positives, but false
negatives!
More information about the Digitalmars-d-learn
mailing list