r/javahelp • • Feb 16 '20

Should i bother learning JAVA 9?

I am a beginner and got a bunch of free JAVA pdfs teaching in Java 9.

Should i bother (starting with) learning Java 9 or start with learning the latest Java version? Or will learning the older version of JAVA 9 end up setting me back somehow?

18 Upvotes

22 comments sorted by

View all comments

19

u/Cr4zyPi3t Feb 16 '20

If you have good resources to learn Java 9 then start with that. Java 9 isn't that old and not really much changed since then (the only thing that crosses my mind is the addition of switch expressions and raw string literals in Java 13, I think the other updates were mostly under the hood). When you're done learning Java 9 you can always learn the later versions. But from my experience the most important Java version in enterprise development sadly is still Java 8, so you're fine with Java 9.

9

u/NautiHooker Software Engineer Feb 16 '20

dont forget the var keyword in java 11

7

u/chipmandal Feb 16 '20

Also List.of(), Map.of() are super helpful.. but to start learning Java 9 or even 8 should be fine.

2

u/[deleted] Feb 16 '20

Basically just conveniences. Nothing language changing