Dump special floating point operators

bearophile bearophileHUGS at lycos.com
Thu Dec 3 21:16:00 PST 2009


Walter Bright:
> While I like them a lot, it's time for them to go:
> 
> 1. It's hard to remember which one does what
> 2. They've failed to catch on
> 3. No operator overloading for them
> 4. They are only rarely needed; a special operator is not justified

Before trashing everything some useful compromise between the two extrema (having many complex operators, and having nothing) can be found. I think Don said something about this.

Regarding "no operator overloading for them", it's a matter of will, with the opBinary operator syntax it's easy to use them too :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list