Why does nobody seem to think that `null` is a serious problem in D?
aberba
karabutaworld at gmail.com
Tue Nov 20 09:27:03 UTC 2018
On Monday, 19 November 2018 at 21:39:22 UTC, Adam D. Ruppe wrote:
> On Monday, 19 November 2018 at 21:23:31 UTC, Jordi Gutiérrez
> Hermoso wrote:
>> What's the reasoning for allowing this?
>
> The mistake is immediately obvious when you run the program, so
> I just don't see it as a big deal. You lose a matter of
> seconds, realize the mistake, and fix it.
>
> What is your proposal for handling it? The ones usually put
> around are kinda a pain to use.
Does D have a linter which warns about certain style of coding
like this?
More information about the Digitalmars-d-learn
mailing list