Draft proposal: allow the use of relational operators on Comparable classes

Tom Hawtin Thomas.Hawtin at Sun.COM
Fri Mar 20 08:35:35 PDT 2009


Reinier Zwitserloot wrote:
> Your average java programmer does not know that the lexer is greedy, and 
> making knowledge of this mandatory to understand what's happening when 
> Joe Q. Java sees "5.<.4" is a bad idea.

Why would J.Q.J ever see "5.<.4"?? He or she may conceivably see "5.<f", 
"f<.4" or "a.<.b", all of which are unambiguous.

Tom Hawtin



More information about the coin-dev mailing list