~/talk

Revisiting Design Patterns After 20

Talkat Devnexus 2023 · 2023-04-04..04-06· [software-architecture]
slides:none on file

Classic GoF patterns get concrete modernization: prefer composition, small interfaces and reuse JDK functional types instead of inventing interfaces; examples show use Runnable not Command, replace template methods with Function strategies, and enum singletons avoid serialization issues. Demos use Java 8+ features—Function, Consumer, Optional, method references, streams, enums, sealed classes and pattern matching—to simplify Strategy, Chain of Responsibility, Interpreter and Visitor alternatives. A working reverse‑Polish interpreter and streaming notifier chain run in the demo code, which is on GitHub at yanaga/revisiting-design-patterns.

AI-written summary · about

  1. 0:00Introduction and principles
  2. 6:25Command and observer
  3. 8:47Strategy pattern
  4. 14:50Template methods
  5. 19:34Singleton pattern
  6. 21:03Interpreter pattern
  7. 33:31Chain of responsibility
  8. 41:09Visitor pattern
  9. 52:18Specification and conclusion
~/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.