[nem-en] Nullable types

Kenneth Ismert kismert at sbcglobal.net
Sun Jan 15 19:57:00 CET 2006


>> Well, I'm quite neutral about nullable types. I never needed
>> them in Nemerle yet ... 
>> I believe they are useful for static contract checking.

As a database app developer, I quite like the idea. Since database
types are inherently nullable, having an equivalent type in your
programming language makes the straightforward things straightforward. 

In VB, you had the Variant, which was AnyType Or Null. That presented
certain logical problems dealing with database datatypes, which were
SpecificType Or Null. 

So, having a SpecificType Or Null construct in the Nemerle would be
attractive to me. 

Or perhaps I'm missing something obvious?

-Ken Ismert



More information about the devel-en mailing list