The SolutionFactory to Java's Problems
Talkat JCON Europe 2023 · on Tuesday, 2023-06-20· at 15:00· Cinema 9, Im Mediapark 1, 50670 Köln, Germany·
summary
Project Amber delivers concrete, incremental fixes: text blocks (Java 15) remove escaping and preserve incidental indentation; string templates (preview in Java 21) embed expressions and use template processors that can return parsed domain objects (e.g., Json or safe SQL) to avoid re-parsing and injection; records (Java 16) plus sealed types enable concise immutable data types, exhaustive switches and unnamed patterns so the compiler enforces coverage; var (Java 10), single-file execution (Java 11) and a relaxed main prototype lower the on‑ramp. A GitHub crawler using records, sealed pages and virtual threads (Loom) demonstrates the approach and works.
AI-written summary · about
chapters (7)
- 0:00Introduction to Project Amber
- 1:03Project Amber overview
- 3:09Strings in Java and Project Amber
- 12:37Type safety and encapsulation
- 23:25Dealing with data as data
- 37:25Starting with Java
- 46:21Summary of Project Amber
related talks
41mEvolving Java Project Amber
01h 03mProject Amber: Recent Java Language Features
01h 02mJava Project Amber - Not Just a Rare Fossil
43mHow Amber is Driving Java’s Evolution
48mUncovering Project Amber: Changes to the Java Language in v10 & Beyond
43mJava Language Futures, Spring 2023 Edition
42mJava, Today and Tomorrow
46mJava Next - From Amber to Loom, from Panama to Valhalla
