Uncovering Project Amber
summary
Project Amber, started at Oracle in 2017, batches small productivity features into preview stages on a six‑month cadence and already delivers concrete changes: var (local variable type inference) (Java 10) with limits (no fields, no null-only initialization) and a demo of a raw‑type pitfall; local var for lambda parameters (Java 11) to allow annotations; switch expressions with yield (Java 12/13) that return values and require exhaustiveness or a default; text blocks ("""...""") (Java 13) that remove concatenation and escape clutter; records, pattern matching and sealed types target future releases.
AI-written summary · about
