Draft proposal: allow the use of relational operators on Comparable classes (original) (raw)
Tom Hawtin Thomas.Hawtin at Sun.COM
Fri Mar 20 08:35:35 PDT 2009
- Previous message: Draft proposal: allow the use of relational operators on Comparable classes
- Next message: Enhanced String literal for Java: version 1.3 with implementation.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Draft proposal: allow the use of relational operators on Comparable classes
- Next message: Enhanced String literal for Java: version 1.3 with implementation.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]