Anyone come up with some cool algorithms/templates for D lately?

Michel Fortin michel.fortin at michelf.com
Fri Apr 18 06:15:31 PDT 2008


On 2008-04-17 23:32:03 -0400, Bill Baxter <dnewsgroup at billbaxter.com> said:

> Psst -- don't tell anyone but ...
> opDot... coming to a DMD near you soon.

opDot? I'd like to hear why it would be named this way instead of 
opMember, opFwd, or anything telling what usage the operator is about 
instead of what it looks like. There's a reason Walter has choosen 
opAdd, opDiv, opSlice, etc. instead of opPlus, opSlash, opBrakets, etc. 
and I feel it was a very good idea. Why move away from this?

I know there's a precedent (opStar), but I'd like to hear the rationale 
behind this choice too (why isn't it called opDeref?).

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




More information about the Digitalmars-d mailing list