Why does nobody seem to think that `null` is a serious problem in D?
Chris Katko
ckatko at gmail.com
Tue Nov 20 22:14:14 UTC 2018
> Try to learn D.
> Put writeln in deconstructor to prove it works as expected
> Make random changes, program never runs again.
> Takes 30+ minutes to realize that writeln("my string") is fine,
> but writeln("my string " ~ value) is an allocation / garbage
> collection which crashes the program without a stack.
My favorite D'ism so far:
More information about the Digitalmars-d-learn
mailing list