Non-null objects, the Null Object pattern, and T.init

Walter Bright newshound2 at digitalmars.com
Fri Jan 17 19:38:31 PST 2014


On 1/17/2014 7:23 PM, Michel Fortin wrote:
> I guess so. But you're still unconvinced it's worth it to eliminate null
> dereferences?

I think it's a more nuanced problem than that. But I agree that compile time 
detect of null reference bugs is better than runtime detection of them.



More information about the Digitalmars-d mailing list