~/talk

What's New in Java - a Language Perspective!

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

Overview of concrete changes: Java 14–15 ship preview features that implement instanceof pattern (no explicit cast), switch expression (returns a value, arrows and yield rules, compile-time exhaustiveness), records (auto-generated private final fields, canonical constructor and accessors), and sealed types (compiler-known permitted subclasses). Eclipse Java compiler emits new classfile attributes (Record and PermittedSubclasses). Expect these previews to stabilize by Java 16 and watch for scoping and restricted-identifier pitfalls like using yield.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Java language changes
  3. 3:34Pattern matching in Java
  4. 9:12Switch expressions
  5. 17:07Records in Java
  6. 20:18Sealed interfaces
  7. 21:45JVM specification updates
  8. 23:11Resources and closing
~/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.