~/talk

Revisiting Effective Java in 2020

Talkat Devnexus 2020 · 2020-02-19..02-21· [java]
slides:none on file

Covers concrete changes from Effective Java 3rd edition: shows live Java code using Guava and JDK utilities to prefer factory methods over constructors (caching/flyweight, API evolution), minimize mutability with final fields and builders, implement equals/hashCode (Objects.equals, Objects.hash, precomputed hash), and separate debug vs business strings (Formattable). Demonstrates Java 8 comparators, five method-reference types, reuse of JDK functional interfaces instead of custom ones, and modern enums as enum-as-strategy and enum singletons. Performance tradeoffs and concrete refactor patterns are shown.

AI-written summary · about

  1. 0:00Introduction and book overview
  2. 3:12New features in Effective Java 3rd edition
  3. 10:49Factory methods and immutability
  4. 29:00Functional interfaces and lambdas
  5. 39:10Method references in Java 8
  6. 44:30Advanced enum usage
  7. 50:05Summary and Q&A
~/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.