c**t 发帖数: 2744 | 1 【 以下文字转载自 Programming 讨论区 】
发信人: cogt (苦荆茶), 信区: Programming
标 题: Java banned operator overloading
发信站: BBS 未名空间站 (Thu Oct 27 09:15:36 2005), 转信
http://www-128.ibm.com/developerworks/java/library/j-pg10255.html?ca=dgr-lnxw01polymorphism
The Java? language has banned operator overloading, but upstart Groovy
says "bring it on!" Find out what you've been missing all these years, as
Andrew Glover walks you through everyday uses of Groovy's three categories of
overloadable operators in this fina | A*****y 发帖数: 300 | 2 Valueable shorthand? Have not they caused enough problems? Two digits for
years.
of
【在 c**t 的大作中提到】 : 【 以下文字转载自 Programming 讨论区 】 : 发信人: cogt (苦荆茶), 信区: Programming : 标 题: Java banned operator overloading : 发信站: BBS 未名空间站 (Thu Oct 27 09:15:36 2005), 转信 : http://www-128.ibm.com/developerworks/java/library/j-pg10255.html?ca=dgr-lnxw01polymorphism : The Java? language has banned operator overloading, but upstart Groovy : says "bring it on!" Find out what you've been missing all these years, as : Andrew Glover walks you through everyday uses of Groovy's three categories of : overloadable operators in this fina
| R*******r 发帖数: 104 | 3 Valuable? I think not. There are too many confusions in operator overloading,
at the end of day, a.add(b) is ugly but tolerable, but inproper usage of a+b
can cost you entire day.
of
【在 c**t 的大作中提到】 : 【 以下文字转载自 Programming 讨论区 】 : 发信人: cogt (苦荆茶), 信区: Programming : 标 题: Java banned operator overloading : 发信站: BBS 未名空间站 (Thu Oct 27 09:15:36 2005), 转信 : http://www-128.ibm.com/developerworks/java/library/j-pg10255.html?ca=dgr-lnxw01polymorphism : The Java? language has banned operator overloading, but upstart Groovy : says "bring it on!" Find out what you've been missing all these years, as : Andrew Glover walks you through everyday uses of Groovy's three categories of : overloadable operators in this fina
|
|