enum

w0rp devw0rp at gmail.com
Wed Apr 9 14:53:30 PDT 2014


On Tuesday, 8 April 2014 at 22:08:52 UTC, H. S. Teoh wrote:
> On Tue, Apr 08, 2014 at 09:46:51PM +0000, Meta wrote:
>> Then there's also making objects default non-null, tuple 
>> syntax,
>> qualified constructors...
>
> I dunno, default non-null objects is pretty low in my priority 
> list, and
> tuple syntax is just icing on the cake. I think there are other 
> things
> that are more important. (*ahem*cough*AA's*ahem* -- though 
> admittedly
> that's more an implementation issue, not a language issue).

Default non-null is right at the top of my wish list. I tried 
Maybe/Option types and now I am hooked. It is amazing how one 
apparently small difference in a type system changes everything. 
Contracts are okay for now. ( assert(x !is null) )


More information about the Digitalmars-d mailing list