opStar

Michel Fortin michel.fortin at michelf.com
Sat Nov 10 07:15:19 PST 2007


On 2007-11-10 04:21:41 -0500, "Janice Caron" <caron800 at googlemail.com> said:

> ...and since we now have opStar() to overload *p

Hum, is it just me or is the name of this operator inconsistant? Aren't 
operators in D supposed to be named after what they do instead of what 
they look like in order to discourage programmers from changing the 
operator's meaning?

So why isn't opStar named opDereference, or opDeref for short?

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list