~/talk

Trite Switches

TalkinRussianat SnowOne 2025 · 2025-02-28..03-01· [java]
links:none on file
slides:none on file

Overview of switch statements: their evolution, inherited problems from Ceylon, and current complexities around string/enum handling, pattern matching, and exhaustiveness. Discusses a flawed OpenJDK implementation and identifies language features still missing to make switches cleaner and safer.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24Speaker intro
  3. 2:06Switch basics
  4. 6:17Break and fall-through
  5. 8:41DAF device optimizations
  6. 10:29Java switch evolution
  7. 11:10Bytecode instructions
  8. 13:14Switch with enums
  9. 15:23Switch with strings
  10. 18:15Pattern matching
  11. 21:00InvokeDynamic basics
  12. 22:22Switch expressions
  13. 25:12Pattern matching concept
  14. 27:42Instanceof limits
  15. 28:44Pattern matching with switch
  16. 30:05JSON node matching
  17. 32:57Nested patterns
  18. 34:20Switch bootstrap
  19. 36:48Dumble strategy
  20. 38:56Switch evolution philosophy
  21. 39:37Future Java features
  22. 41:00Conclusion & Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.