Explore the evolution of Java API design in this 49-minute Devoxx conference talk. Dive into the challenges of maintaining backward compatibility while modernizing the language. Examine commonly used Java APIs that cause difficulties for developers and learn from their shortcomings. Discover principles for clean API design and how they've been applied to new features in JDK 9, 10, 11, and 12. Investigate improvements in Collections, StackWalker, ProcessHandle, and HTTP/2 client APIs through live coding examples. Gain insights on creating cleaner code using modern JDK features and designing your own APIs that are both clean and user-friendly. Analyze empty patterns, side effects, hidden assumptions, and positive design patterns to enhance your Java development skills.
Overview
Syllabus
Intro
Collections
Stack Walker API
Process API
Process Builder
HTTP2 Client
HTTP Client
Recap
Empty patterns
Side effects and hidden assumptions
Nice patterns
Taught by
Devoxx