Delete comment from: Stephen Colebourne's blog
BigDecimal: the real problem I think has nothing to do with the fact that BigDecimal has no literals and operators, but because it's slow. I could certainly understand if some would say "hey, I'd rather have some slight error in my milliseconds than bad performance" (it might very well be that BD is quite fast nowadays, but then it at least still has a bad rep)
Immutables: could you elaborate on this? I don't see any big problems with the way we do it now?
Self types: I can see that this would be useful, would it allow things like List<>?
Operator overloading: well this subject has been beaten to death, but I must say your Apples and Oranges example doesn't really convince me. The same could also be accomplished by introducing type aliases or typedefs, where you could say:
type foo = long;
Which would have the same operations as a long without actually being the same type (I would introduce this for all types so we can also use it to get rid of those lengthy generified types like List, Value>>>)
Oct 5, 2007, 7:23:51 PM
Posted to JSR-310 and Java 7 language changes