Hanno Embregts is a Java Developer, Speaker and Teacher at Info Support (the Netherlands). He has over 14 years of experience with both front- and back-end development, with a special interest in automating the software development process to the fullest.
He likes his work best when it is fast-paced and versatile, which is why he juggles Java development, public speaking and teaching courses at Info Support’s Knowledge Centre. When Hanno doesn’t have access to any kind of computer - which can only be called the most desperate of times - he plays in a band as a lead singer and guitar player. He is also a passionate fan of alternative rock band Switchfoot and Dutch football club Feyenoord. Last but not least: he has been told off repeatedly for using Star Wars quotes at work (things didn’t improve much by replying “I find your lack of faith disturbing”).
This summer, I got my Java 11 certification. I expected it to be a breeze, because I've been a Java developer for 14 years now and surely I should have seen it all by now. Boy, was I wrong! I came across lots of things that I didn't even know were possible with Java.
Now this can either mean that I have been a terrible developer for a painfully long time, or that these things are just a bit lesser known and in fact very interesting to hear about.
I'm hoping the latter is actually the case, so in this talk I will take 15 minutes to go through 11 things that took me 14 years to learn. Which means that you have the chance to learn these things 490896 times faster than I did! 🚀
At first it seemed to be just a small enhancement: the addition of "Pattern Matching for instanceof" (JEP 305) in Java 14. No more unnecessary casting after an `instanceof`, that ought to save us a few seconds a day! However, upon further investigation you'll quickly discover that pattern matching is not just an enhancement, but rather a vital puzzle piece in the grander scheme of things.
Why were switch expressions added to Java, for example? To make them support pattern matching in a later release! And why did Java 14 bring us records and did Java 15 contain sealed types? Because they could work really well with pattern matching in a later release! These new concepts are the foundation upon which advanced pattern matching features will be built.
So attend this session to get all caught up! You'll hear about type patterns, deconstruction patterns, nested patterns and even how pattern matching could improve serialization in the future. Live coding included, of course!
The speaker has never seen the deck they are about to give a talk on.
There are 20 slides and they auto-advance every 15 seconds.
The result should be a fast and fun presentation which lasts just 5 minutes.
What could possibly go wrong?