~/talk

Revisiting Effective Java in 2019

Talkat Jfokus 2019 · 2019-02-04..02-06· [java]
slides:none on file

Covers Effective Java 3rd edition with live coding that compiles and runs, demonstrating immutable value objects via factory methods over constructors, equals/hashCode pitfalls and caching, toString vs Formattable for business format, Comparable and comparator optimizations, and use of Guava and mentions Lombok/Immutables. Emphasizes Java 8 features: counts 41 functional interfaces but focuses on six core ones, shows five method reference types, and rewrites enum-based singletons into a lambda-backed enum singletons/strategy pattern. Source code lives on GitHub and examples execute during the session.

AI-written summary · about

  1. 0:00Start
  2. 4:38start with minimize mutability
  3. 4:57minimize mutability
  4. 13:34generate your code
  5. 16:01create a meaningful two string
  6. 25:11create a new function interface in your code
  7. 27:56implement a template method pattern
  8. 30:01the strategy design pattern
  9. 32:17provide you some tips about using method references
  10. 33:29replace this lambda with a method reference
~/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.