~/talk

The modern view on implementation of classic design patterns in Java

Talkat JavaDay Kharkiv 2016 · on Saturday, 2016-09-17· [software-architecture]
slides:none on file

Argues that Java 8 features materially change pattern choices and shows runnable code: a Spring example where dependency injection kills singleton, two builder styles (runtime vs. accumulator), prototype uses for immutable domain objects, factory methods replaced by constructor references replace factory classes, adapter examples converting Runnable to Consumer and Executor, proxies built by chaining Consumers, template-method replaced by injected Function for storage, commands as lambdas, streams replacing iterators, and that lambdas replace many behavioral patterns.

AI-written summary · about

  1. 0:00Introduction
  2. 6:54Singleton pattern modern view
  3. 11:56Builder evolution and options
  4. 17:52Prototype usage
  5. 23:37Factory Method and Abstract Factory
  6. 27:50Adapter simplification with Java 8
  7. 31:44Proxy new approaches
  8. 36:38Template Method and functionality
  9. 41:19Command pattern rejection
  10. 42:45Chain of Responsibility anti-pattern
  11. 44:33Strategy flexible algorithms
  12. 46:40Iterator streams instead of iterators
  13. 49:09Decorator function wrapping
  14. 51:15Visitor modern implementation
  15. 54:39Conclusion and tips
~/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.