On Sunday, 19 May 2013 at 17:51:36 UTC, Idan Arye wrote:
On Sunday, 19 May 2013 at 17:35:43 UTC, deadalnix wrote:
Idan Arye > Nil proposal make no sens in a statically typed language. And you'll find no better kind of null. We have all tools we need in D to work around null in library.

That's not the point. The point is that if you couldn't initialize this reference to null, you had to initialize it to something else, so you would still get your race condition.

Note that it had to be initialized, and my patch to Cayenne was simply to reorder that initialization.

The patch itself was ~5lines, and would have impossible to do with a nonnullable (except with your Nil stuff, which once again don't make any sens in a strongly type language)

Reply via email to