~/talk

Rolling with New Java Enhancements: Practical Design Patterns

slides:none on file

Claims that Java 21 features make classic patterns smaller, safer and faster with concrete techniques and tools. Demonstrations use records to get auto equals hashCode and immutability, pattern matching in switch and instanceof to replace casting, and ReentrantReadWriteLock and bulkhead-style concurrency from java.util.concurrent for safe readers/writers. Java Flight Recorder visualizes thread and allocation hotspots, showing how switching Integer to int cuts allocations and GC pressure. Cited cost of poor code is $300 billion per year, and examples claim measurable maintenance and testing time reductions.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:11Java version context and migration
  3. 6:45Poor code quality impact and causes
  4. 11:59Project happiness pyramid and discipline
  5. 20:11Platform anti-patterns and autoboxing
  6. 24:51SOLID principles and code reuse
  7. 27:42Concurrency patterns in Java
  8. 30:15Creational design patterns with Java 21
  9. 33:41Structural patterns and switch improvements
  10. 35:06Behavioral patterns and stream APIs
  11. 36:51Java 21 features impact and benefits
  12. 39:39Conclusion and cost reduction
~/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.