Nullable or Optional? Or something else?

Simen Kjaeraas simen.kjaras at gmail.com
Wed Sep 2 13:47:13 PDT 2009


Danny Wilson <bluezenix at gmail.com> wrote:

> So if pointers wouldn't be considered evil,  Maybe!T*  would suffice?
>
> Can someone point me out what the big difference is between ref and  
> simply disallowing pointer arithmitic?  Is it marketing?

Well, for one, we don't want to disallow pointer arithmetic. Then, we
introduce pointers without pointer arithmetic, and call them
references. Best of both worlds.

-- 
   Simen



More information about the Digitalmars-d mailing list