Structs are Not Plain: A call for empty struct constructors

Dukc ajieskola at
Fri Sep 20 08:16:31 UTC 2019

On Friday, 20 September 2019 at 07:58:42 UTC, FeepingCreature 
> You're argument is basically "that's how it is, so that's how 
> it should be." The proliferation of non-null invariants in our 
> codebase begs to disagree.

Didn't mean to say that -just that the struct design is 
consistent with rest of the language. I personally like the 
current philosophy fairly much, not a lot of experience from 
doing things the other way so I'm not very qualified to make 
strong comments. Walter however has reasoning:

You can agree or disagree.

More information about the Digitalmars-d mailing list