Java's New Powers Hero or Villain in Your Code?
summary
Demonstrates Java 22 language previews by running String Templates in String Templates and custom processors inside IntelliJ IDEA (uses the sStr and fmt processors, shows a formatted bill and an emoji replacer), shows a failed live PDF generation (file not created), validates out‑of‑range latitude via a record constructor instead of template logic, exercises statements before super to run checks before calling super, and replaces unused pattern variables with unnamed variables (_) to reduce cognitive load.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:04String templates in Java
- 35:19Implicit classes and main
- 44:52Statements before super
- 53:57Unnamed variables and patterns
- 58:18Q&A and summary
related talks
15mString Templates - Syntactic sugar or useful improvement?
52mRobust and Flexible String Templates in Java
51mRefactor Your Code to Java 20
57mBreaking Java Stereotypes: It's Not Your Dad's Language Anymore
38mJava 8: Functional programming
47mThe SolutionFactory to Java's Problems
48mUncovering Project Amber: Changes to the Java Language in v10 & Beyond
53mThe Secrets of the Fastest Java Developers on Earth
