(non)nullable types
Nick Sabalausky
a at a.a
Sat Feb 14 18:44:32 PST 2009
"Nick Sabalausky" <a at a.a> wrote in message
news:gn7vef$2nb4$1 at digitalmars.com...
>
> Because some other function or codepath could still accidentally be
> breaking your precondition convention, so you're right back to inviting
> hidden. The
Sorry, that should be "...so you're right back to inviting hidden null
reference errors."
> extra check prevents that. Also, in many cases (though not all), doPart1()
> might be better off being generalized like this:
>
More information about the Digitalmars-d
mailing list