~/talk

Revisiting Design Patterns after 20

Talkat Voxxed Days Zurich 2023 · on Thursday, 2023-03-16· [java]
slides:none on file

Revisits the GoF’s 23 patterns and shows live refactorings that replace boilerplate with Java features: use lambdas and java.util.function instead of custom Strategy interfaces, pass a Function to replace Template Method, model Singleton as an enum, and replace Visitor with sealed classes plus switch expressions and pattern matching so the switch is exhaustive at compile time. Implements a Chain as a record of Predicate+Consumer and composes it via streams, and demos Google Wallet pass examples (full JWT vs precreated JOT); code compiles and runs.

AI-written summary · about

  1. 0:00Intro
  2. 0:48Google Wallet
  3. 3:29Design Patterns
  4. 5:31Pattern Language
  5. 6:53Free Major Principles
  6. 8:49Code Examples
  7. 14:58Structure Programming
  8. 15:18ObjectOriented Programming
  9. 16:08Encapsulation
  10. 16:45Single Dispatch
  11. 24:44Implementing Visitors
  12. 31:58Legacy Singleton
  13. 32:28Legacy Chain of Responsibility
  14. 33:43Interface Notifier
  15. 34:38Record
  16. 35:28Alternate Implementation
  17. 36:08Winning Points
  18. 37:23Specification
  19. 38:58String
  20. 40:38Implementation
  21. 43:33Raffle
~/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.