What's the current state of D?

Christopher Wright dhasenan at gmail.com
Sun May 10 06:40:18 PDT 2009


Nick Sabalausky wrote:
> About the null references, most people seem to agree that the right way to 
> fix that is with some sort of "non-nullable". But there's a lot of 
> disagreement on exactly how non-nullables should work.

And whether they *can* work. D2 has struct constructors, so structs can 
have non-nullable fields, but you can't have an array of non-nullable 
elements (you can set the length, and suddenly your non-nullable-element 
array has a bunch of nulls in it). Similarly, no arrays of structs 
containing non-nullable types, etc.

There are a lot of things to look into with non-nullables, and Walter 
doesn't have the time.



More information about the Digitalmars-d mailing list