~/talk

Uncovering Project Amber: Changes to the Java Language in v10 & Beyond

Talkat Developer Summit 2020 · 2020-11-21..11-22· [java]
github:malagupta
slides:none on file

Project Amber demos show concrete language changes and working examples using IntelliJ IDEA 2020.2 and Java 15 preview features live coded on screen the presenter defines sealed classes (Java 15) restrict which types can extend and shows a permits clause, demonstrates records generate getters equals hashCode toString and are shallowly immutable by serializing a record to a file after adding Serializable, converts switches to switch expressions that return values without fallthrough, uses pattern matching for instanceof to remove casts, and shows var and var in lambda params with compact examples and fixes during the live demo.

AI-written summary · about

  1. 0:00Introduction to Project Amber
  2. 5:28Sealed types in Java 15
  3. 12:59Records for data modeling
  4. 23:10Pattern matching for instanceof
  5. 29:17Text blocks for multiline strings
  6. 37:24Switch expressions explained
  7. 39:14Local variable type inference with var
  8. 43:37Lambda parameter syntax updates
  9. 45:25Preview language features overview
~/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.