Re:Java 11 released
by gdsdfe on Tuesday September 25, 2018 @03:09PM
(#18069453)
We're still using the 6 FML
[ Parent
| on HN ]
Ouch. Java 7 and 8 introduced a bunch of very pleasant syntactical fixes that greatly improved my pleasure in coding Java. What's holding you back on 6?
Probably they are using an "enterprise" J2EE stack that hasn't been updated to the latest version.
Bingo! Ginormous amount of technical debt that nobody is dealing with and probably not even seeing ... Plus a culture of "if it works don't touch it" ... I am dying inside ...
Re:Java 11 released
by itronitron on Wednesday September 26, 2018 @12:12AM
(#18072722)
6 to 7 is an easier switch than 7 to 8, they changed the boolean value of at least one default runtime parameter in java 8 without telling anyone
If the only restriction is the compatibility with the rest of the stack, perhaps Kotlin is an option?
Kotlin can target JDK 6 and can integrate with old stacks
yeah java8 is liveable, previous versions are tough on your soul
>Java 7 and 8
and Java 10 has much better type inference too.
One of our customers still has a couple of Red-Hat 5 with Java 1.4 servers if that makes you feel better.
Pffttt....still on 5 here. Working to change that.
On the bright side, Java 5 is a huge improvement over earlier versions – at least you have generics, and you don't have to manually create iterator objects every time you write a loop! (Java ME was stuck on 1.3 until its death.)
>Working to change that.
How are you planning to move from 5 to 8/11? Our migration from 5/6 to 8 was really painful.
I thought the whole point of a backwards compatible language like Java was that transitions should be relatively easy to make?
A lot of stuff like ant/maven, other build tools, plugins, libraries broke due to hardening in JVM that puts a lot of more restrictions on reflection.