PRE-PROPOSAL: Simple operator overloading.

Ruslan Shevchenko rssh at gradsoft.com.ua
Fri May 15 21:17:34 PDT 2009


>
> Catching up on responses, while adding operators for numerical types
> would certainly improve the readability of numerical code using
> non-primitive types, for Project Coin and JDK 7, I think efforts in this
> area should focus on getting [] and []= for collection-like types since
> they are much more often used than numerical types in Java programming.
>

It's vicious circle: numerical types does not usable without operator
overloading; operator overloading does not accepted because numerical
types are not used ;)

 Are exists some plans (or some way for third party to get project
sponsorship from compiler group) to submit operator overloading JSR for
Java 8 ?

 (based not on annotations, but on JSR292 names, to be compatible
 with John Rose approach for mlvm:
http://wikis.sun.com/display/mlvm/DynamicJava)


> -Joe
>
>





More information about the coin-dev mailing list