D - Unsafe and doomed
deadalnix
deadalnix at gmail.com
Sat Jan 4 12:24:05 PST 2014
On Saturday, 4 January 2014 at 20:16:29 UTC, Walter Bright wrote:
> On 1/4/2014 11:41 AM, bearophile wrote:
>> If you write an IDE in D language you wish to avoid this
>> situation :-)
>
> If you write an IDE in any language, you wish to avoid having
> bugs in it. I know that non-NULL was popularized by that
> billion dollar mistake article, but step back a moment.
>
> Non-NULL is really only a particular case of having a type with
> a constrained set of values. It isn't all that special.
If you step back one step further, you'll notice that having a
nullable type may be desirable for almost anything, not only
classes/pointers.
More information about the Digitalmars-d
mailing list