Backporting an application from #Java15 to #Java 8 to convince you how much better coding in modern Java is!
Java 15's modern language features and API enhancements makes coding so much better!
In this video I am migrating a #JAXRS application from Java 15 back to Java 8 to demonstrate how great the modern code is like, compared to the functionally identical code in the ancient pre-Java-9 world. You will see the difference in lines of codes spared due to using the var keyword, switch expressions and the Map.of() factory method - just THREE features out of a whole bunch of improvements! In the end, Java 8 was not just slower in its execution, it also forced you to write much more code, less comprehensible code, was more error-prone, and enforced complex construction, compared to Java 15. In addition, you had to scroll around a lot as you had to put some code into extra methods. Also the old-school code had much more potential bugs and even some were not even detectable at compile time!
Adopt modern Java NOW and start to use all the new features to get better, faster, more concise, more readable, and more bug-free Java code in less time!
You even can do that in existing libraries thanks to multi-release JARs, like Maven currently is adopting it, or on Jakarta EE 9.1 which officially supports Java 11 and will be released in few weels! Chances are good that your application server ALREADY allows modern Java, as e. g. Eclipse Jersey is supporting this already since several releases (this video actually proofs this)! And your favorite IDE definitively DOES support Java 15 already!
So there is no more excuse to wait any longer: Start using Java 15 NOW!
If you like this video, please give it a thumbs up, share it, subscribe to my channel, or become my patreon / mkarg . Thanks! :-)
Jewellery by stkarg.design ( / stkarg.design )
A Peilung 0 Production ( / @peilung0943 )
Nesta página do site você pode assistir ao vídeo on-line Java 15 vs Java 8 | Modern Java Features | Head Crashing Informatics 25 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Markus Karg 09 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,869 vezes e gostou 30 espectadores. Boa visualização!