Re:JDK 8 Release Notes
by radiantsand on Tuesday March 18, 2014 @05:43PM
(#7425221)
The Lombok stuff is pretty nasty, all kinds of hacks to hook into the compiler internals in unnatural ways. If you want those features just use a language which provides them, rather than awkwardly bolting them onto a language that doesn't.
If you like lombok you might also like the Autovalue plugin from Google: https://docs.google.com/document/d/1THRUCIzIPRqFSHb67pHV8KMb...
jdk8 completely breaks the entire value we get out of using joda-time, namely, that instants are unambiguous. It actually recommends using time and date without time zone.
It doesnt recommends using time and date without time zone, it recommends using the right class for the right job. And sometimes the right class doesnt include a timezone
Suppose you have a webpage asking users for their birth date. What data type do you store that value in? Hint: You aren't going to prompt the user for the time zone they were born in.
Re:JDK 8 Release Notes
by portmanteaufu on Tuesday March 18, 2014 @03:51PM
(#7424539)
Could you elaborate on this? I thought that JSR-310 and Jodatime were supposed to be nearly identical. Why would they introduce such a regression?
They thought they could improve on Joda Time while at it. It's java.util.logging all over again (sadly).
projectlombok.org also makes a lot of the language syntax ugliness quite bearable.