~/talk

Revisiting Effective Java in 2020

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

Summary of what's actually shown: updated Effective Java advice for Java 8+ with concrete code: prefer factory methods over public constructors (supports flyweight, caching and API evolution); make objects immutable with private constructor + finals and validate with Guava Preconditions; implement equals/hashCode using Objects helpers and cache hash for hot keys; use JDK functional interfaces (not new ones) — note 40+ functional interfaces exist but six cover most uses; use Comparator.comparingInt and method references, and model behavior with enums (including enum singletons and IntBinaryOperator-based strategies).

AI-written summary · about

  1. 0:00Introduction and book overview
  2. 3:10New features in Effective Java 3rd edition
  3. 10:56Minimizing mutability with factory methods
  4. 28:44Functional interfaces and lambdas
  5. 39:17Method references explained
  6. 44:22Advanced enum usage in Java
  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.