On 5/18/2013 12:08 AM, deadalnix wrote:
On 5/17/13, Walter Bright <[email protected]> wrote:
I oppose this. D has a lot of nice features because of the .init property.
Default constructors wreck that.

So much great feature like :
  - null all over the place.
  - Having NUllable and NonNullable in phobos. BTW, NonNullable is unable to
ensure that it if effectively non nullable.
  - Having to check for .init state all over the place (which have a runtime
cost, in addition to be error prone). RefCounted implementation is emblematic of
that.

What default would you use for non-null pointers?

Reply via email to