Java's New Powers Hero or Villain in Your Code
summary
Covers concrete changes: string templates (Str, fmt, raw processors) combine literals with values, add verification to prevent concat bugs like SQL injection, demoed generating formatted bills, emoji/key replacement, and a JSON→PDF workaround; implicit classes and instance-main variants simplify beginner code while compiling to regular named classes (preview feature); unnamed pattern variables let unused deconstructed names become underscores (production), and statements before super allow inline validation/transformation before calling a superclass constructor (preview).
AI-written summary · about
