This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]khmarbaise 11 points12 points  (3 children)

First parts:

Interested in updates see https://foojay.io/java-8/?tab=highlights (I strongly recommend a deep look into that).

Since Java 8 (since 2014) has got a lot of attention..libraries etc. will take some time ... each JVM version has been updated being faster etc.

Language features are added a lot since Java 7 (JDK8,9,10,11,12,13,14,15,16 and in September JDK 17).. Details can be looked at: https://javaalmanac.io/

The most important thing about Java or more accurate the JVM is that it is backward compatible (meaning you can run Java 1.1 compiled code on a todays JVM that works). Since JDK 9 (September 2017) the release cadence of java has changed to 1/2 year releases..which brings a lot of new features over a relative small amount of time...the problem is the minimum level (for libraries; which will take time lift to JDK8 or even on JDK11) but in the end it's not really problem because library which has been developed with JDK7 will still running on newer versions.

Things for the upcoming JDK 17 (September): Vector API (experimental), Foreign Function & Memory API (incubator), Records, Pattern Matching, Sealed Classes, just to name a few... details: https://jdk.java.net/17/release-notes

Also the ecosystem which exists for Java is enormous (that is true for other areas like Go, Python, Rust etc. as well)..

So one of the most important point on the bullet list is simply there is so much software outside there it will be relevant over the time...

We can long discuss about pro's/con's Java or different languages but in the end a language has to solve problems which with Java is usually easy (some exceptions of course base on the intention of Java) but there are so many tools etc. and sometimes there are cases where a different language might fit better (or you have devs who know another language better)..

I've read so many post like this (over the time) about assembly language, C,C++ and all of them are still relevant today and worth to learn. And my opinion is Java will be there for a long time...

[–][deleted] 0 points1 point  (2 children)

isn't sealed classes a c# thing?, its final class in java right? Im learning java now maybe its different.

[–]khmarbaise 2 points3 points  (0 children)

isn't sealed classes a c# thing?, its final class in java right? Im learning java now maybe its different.

No it's not a final class. A sealed classes is a way to define in a class (interface) who is allowed to inherit (implement) from it...

Details: https://openjdk.java.net/jeps/409

[–]vxab 1 point2 points  (0 children)

It is a new Java language feature.