New Java Version 22 - The 3 Best New Features You'll ACTUALLY Use

preview_player
Показать описание

Java version 22 is out now! Here are 3 new features that you can absolutely make use of as a beginner or advanced Java programmer.

Java 22 was release just a few weeks ago. Is it worth the upgrade? We'll talk about 3 new features in Java 22 that you can actually put into action in your programs TODAY.

Learn or improve your Java by watching it being coded live!

Hi, I'm John! I'm a Lead Java Software Engineer and I've been in the programming industry for more than a decade. I love sharing what I've learned over the years in a way that's understandable for all levels of Java learners.

Let me know what else you'd like to see!

Links to any stuff in this description are affiliate links, so if you buy a product through those links I may earn a small commission.

📕 THE best book to learn Java, Effective Java by Joshua Bloch

📕 One of my favorite programming books, Clean Code by Robert Martin

🎧 Or get the audio version of Clean Code for FREE here with an Audible free trial

📹Camera I use for recording:

🎙️Microphone I use (classy, I know):

Donate with PayPal (Thank you so much!)

☕Complete Java course:

Рекомендации по теме
Комментарии
Автор

Java is older than many people using it, and it's amazing we are just now getting this String feature.

MelHaynesJr
Автор

The string template is amazing but having to begin with STR to make it work is just so Java

terrificfrogg
Автор

I came from a JS background to a Java project and the lack of string templating drove me nuts. I started to use String.format which isn't that bad.

MrXperx
Автор

String templates sounds good but it needs a little work I feel. This is the same concept as string interpolation in C# and its a little more friendly, you just add a $ in front of a string and then use the same braces as with the preview here like: $"part1 {insert} part2". Its quick and easy to use. The "_" is also a thing called disposables I believe and it can be really useful. I am happy to see Java catching up a little and hopefully they work on asynchronous execution in the future.

Kiyuja
Автор

Thanks for the great intro to Java 22. Look forward to more !

paulthomas
Автор

Unfortunately, the string templates feature has been removed for now from std. Lib since they want iterate on the design at bit further before releasing it to the public. Just good to be aware of.

Mig
Автор

Amazing i am learning dsa using Java and love to work on it further as well.

ioucwyd
Автор

Great to see you back! Like the new format and humor. Any updates planned for your bootcamp course? Would be great to see new modules added, or even a new advanced ‘part 2’ course

LittleEngineCan
Автор

welcome back champion. thank for such a great tutorials.

nayankumar
Автор

This video presentation was so cool am considering picking up java again.

imohanthony
Автор

Thanks for the update 🙏. Really appreciate it 👌👍

MrAikien
Автор

Not to compare as I love Java too .. but the string template feature is something .Net has implemented a few years back and Unix operating system has it way way long back ..

I feel like Java is more moving towards like a scripting language like python or Java script and more of functional programming ofcourse

antonyrichard
Автор

Hi John, Eagerly waiting for more videos especially on Spring Security 🙃

nambipugal
Автор

Hi Jon, your video was amazing.

Btw, is there any remote position in your company?

VuLinhAssassin
Автор

Hey john love your content please make more videos

theroyaltygamer
Автор

They implemented my unreasonably favorite JavaScript feature, template literals, into Java. Finally!!!

String.format is pretty good, though.

dembro
Автор

Good tutorial there though I rather they ought to have used $ sign instead of \ for that String variable combination. A convention in number of languages. Besides, adding \ in xml with its cousin / already in abundance will bring more confusion.

raymondorenda
Автор

string templates was something I was wondering if Java had about 8 months ago when I started working on an android app using java. Glad it is finally a feature.

danhoelzel
Автор

Hey John, another great video, thank you! I was wondering if you know something about Java Serialization? It is a topic I would love to see in a video, because it is very useful, but it feels like magic to me. I would love to see a good explanation of it so I know how to use it properly!

rubens_cube
Автор

wow java finally coming out with basic features that have existed in other langiuages for years. i might actuially enjoy java in 5 years.

zachariahtatman