~/talk

Revisiting Design Patterns after 20

Talkat Devoxx France 2023 · 2023-04-12..04-14· [software-architecture]
slides:none on file

Live refactorings convert legacy GoF patterns into concise Java 20 constructs: Singleton becomes an enum singleton, Command maps to Runnable, Strategy and Template Method use Function/Predicate/Consumer and method references, Chain of Responsibility becomes a stream findFirst filter, Interpreter uses enums+Optional and returns 7 in the demo, Visitor is replaced by pattern matching switch on sealed types, and Specification reduces to composed Predicates. Code runs on stage and is published on GitHub for reproduction.

AI-written summary · about

  1. 0:00Introduction and context
  2. 3:35Guiding principles for modern patterns
  3. 5:40Patterns covered in the talk
  4. 6:02Command pattern revisited
  5. 6:45Observer pattern revisited
  6. 8:10Singleton pattern revisited
  7. 9:13Strategy pattern revisited
  8. 12:47Template method revisited
  9. 16:19Interpreter pattern revisited
  10. 21:59Chain of responsibility revisited
  11. 28:39Visitor pattern revisited
  12. 38:59Specification pattern revisited
  13. 42:56Resources 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.