On 06/13/2014 11:45 PM, Jonathan M Davis via Digitalmars-d wrote:
On Fri, 13 Jun 2014 21:23:00 +0000
deadalnix via Digitalmars-d <[email protected]> wrote:
The approach consisting in having non nullable pointers/reference
by default is the one that is gaining traction and for good
reasons.
That interacts _really_ badly with D's approach of requiring init values for
all types. We have enough problems with @disable this() as it is.
- Jonathan M Davis
@disable this() and nested structs etc. Trying to require init values
for everything isn't an extraordinarily good idea. It roughly extends
'nullable by default' to all _structs_ with non-trivial invariants.