opStar

Bruce Adams tortoise_74 at yrajh.who.co.uk
Sat Nov 10 10:22:39 PST 2007


Michel Fortin Wrote:

> 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/
> 
Not to mention that it could naively be confused as meaning opMultiply





More information about the Digitalmars-d mailing list