Redian新闻
>
Java banned operator overloading
avatar
Java banned operator overloading# Java - 爪哇娇娃
c*t
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
avatar
A*y
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

avatar
R*r
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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。