12th édition – du 17 au 19 avril 2024
3 jours de conférences, 70 exposants, 4500 visiteurs par jour
Michael Krimgen
Postcode Loterij
I'm a senior Java software developer at the National Postcode Lottery in the Netherlands.I love Java programming and good software development practices (like clean coding and simplicity).In addition to my job, I am an editor at Baeldung and an author at Reflectoring, both of which I thinkare great ways of keeping my software development skills up to date.I love climbing, running, reading, traveling, and learning languages in my free time.You can also find me here: https://www.linkedin.com/in/mkrimgen/
Java 21 introduced string templates as a preview feature (https://openjdk.org/jeps/430). String interpolation exists in many other languages and several libraries already offer string interpolation for Java. With Java 21, string templates become part of the language. Is it only syntactic sugar or a useful improvement? In this session, we'll look at the details of the JEP. The talk will cover the reasoning behind the new feature, advantages and disadvantages, and performance impacts. We'll also see how to implement a custom template processor. The session will also include some live coding and a short discussion with the audience on their opinion on the new feature.
More
en_USEnglish