~/talk

"void main()"

Talkat DevIgnition 2024 · on Thursday, 2024-11-07· [java]
slides:none on file

Live-refactors a Java 8 conference app to Java 22/23 (project on GitHub) with concrete, line-for-line changes: text blocks (no performance penalty), switch expressions with yield, pattern matching including primitive guard clauses, sealed types to limit subclasses, records and record patterns replacing verbose POJOs. Shows exhaustive enum switches, flow-scoped pattern variables, and a simplified void main() entry that compiles and runs (IDE may show squiggles but examples run on Java 23 EA), plus exact commands and files so the refactor can be reproduced locally.

AI-written summary · about

  1. 0:00Modern Java updates
  2. 2:48Conference project overview
  3. 3:31Text blocks for strings
  4. 7:25Switch expressions
  5. 10:40Pattern matching
  6. 16:47Switch with primitives
  7. 19:18Sealed types
  8. 23:51Records
  9. 26:46Record patterns
  10. 28:52Simplified main method
  11. 30:18Constructor enhancements
~/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.