tag:blogger.com,1999:blog-34692233.post3089640484455194594..comments2007-09-03T09:29:09.193+01:00Comments on Mind the gap: BigDecimal operator support in Java 7Glynhttp://www.blogger.com/profile/08741529390385812080noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-34692233.post-74234078982643193332007-09-03T09:29:00.000+01:002007-09-03T09:29:00.000+01:00C# is certainly ahead of Java in its decimal synta...C# is certainly ahead of Java in its decimal syntax, which is one of the reasons I'd like Java to support proper decimal syntax.<BR/><BR/>I'm personally ambivalent about general operator overloading. It'd be handy when I need it, but I wouldn't like to have to support code that abused it.Glynhttp://www.blogger.com/profile/08741529390385812080noreply@blogger.comtag:blogger.com,1999:blog-34692233.post-46711152495087942192007-09-01T22:12:00.000+01:002007-09-01T22:12:00.000+01:00it's right, but a programming language shouldn't b...it's right, but a programming language shouldn't be optimized for average programmers, i think.<BR/><BR/>don't you think, java is in danger, compared with c#?<BR/><BR/>c# implements lots of that 'advanced programming techniques' that java avoids.<BR/><BR/>i like java very much. it's sad to see microsoft overtaking java with it's .netIvannoreply@blogger.comtag:blogger.com,1999:blog-34692233.post-42146234527735376082007-08-29T10:05:00.000+01:002007-08-29T10:05:00.000+01:00General operator overloading tends to be frowned u...General operator overloading tends to be frowned upon by the Java community. It's thought to be one of those features of C++ that Java did well to avoid because it gives too much power for average programmers to shoot themselves, and others, in the foot.<BR/><BR/>That said, one way of providing good syntax for BigDecimals would be to introduce a limited form of operator overloading. But best to think of that as an implementation mechanism rather than adding operator overloading capability to the language for all to use.Glynhttp://www.blogger.com/profile/08741529390385812080noreply@blogger.comtag:blogger.com,1999:blog-34692233.post-32339239750118581072007-08-28T16:05:00.000+01:002007-08-28T16:05:00.000+01:00aehm... how about just operator overloading in jav...aehm... how about just operator overloading in java?<BR/><BR/>or is it a untouchable, sacral topic? ;)Ivanhttp://www-stud.uni-due.de/~seivsevc/noreply@blogger.com