A Fresh Look at Comparisons, Take 2

Jason House jason.james.house at gmail.com
Fri Apr 18 06:41:17 PDT 2008


Janice Caron Wrote:

> How does all that sound?

IMHO, explicit is dangerous.  It suffers from all the normal pitfalls of non-virtual function calls.  Explicit helps when you have all the raw objects and have to be explicit in how you use them, but when calling functions that accept a base class or using an object factory, it gets more complex.

I also think no support comparing floating point numbers is unacceptable.

Other than that, I like the rest of the proposal (AKA rules 2-5)



More information about the Digitalmars-d mailing list