~/talk

Java Language Futures - All Aboard Project Amber

Talkat Devoxx Belgium 2017 · 2017-11-06..11-10· [java]
slides:none on file

Local-variable type inference ships as var in JDK 10 and is limited to locals (not fields or API signatures); the compiler normalizes capture types and forbids inferring the pure null type. Work-in-progress features include data classes (boilerplate generated via a semantic declaration), deconstruction patterns plus pattern-matching that generalizes switch into expressions, and sealed types to enable exhaustiveness checks. Prototypes and prototype repos available in OpenJDK and IntelliJ plugins let developers try them; serialization rework follows from the data-class model.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Java Evolution
  3. 4:29Java Principles, circa 2005
  4. 8:02Project Amber
  5. 8:27Expanded Type Inference
  6. 19:32Boilerplate
  7. 22:43Encapsulation
  8. 24:57Data Classes
  9. 27:56Algebraic Data Types
  10. 28:36Sealed Classes
  11. 29:29Improved Switch
  12. 35:36Pattern Matching
  13. 45:00Improved Serialization
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.