Proposal: Sameness operators
Mark Thornton
mthornton at optrak.co.uk
Thu Apr 2 12:18:29 PDT 2009
Reinier Zwitserloot wrote:
> My point is thus: There is a perfect world, and java doesn't have it.
> And it never will. Either we do this, or we give up and never have any
> sort of improvement to the comparable situation. If that's the choice,
> I want comparator operators, even with the glitches.
>
A new set of operators like (==), (<), etc, all based on compareTo would
work, but I don't know how likely such a change is. In their favour,
these operators would NOT be overloaded so the usual complaints about
operators wouldn't apply.
Mark
More information about the coin-dev
mailing list