~/talk

Future-Proofing Java: The Art of Crafting Resilient APIs

Talkat Voxxed Days Thessaloniki 2024 · 2024-10-18..10-19· [java, api-design]
slides:none on file

Maven Central analysis shows version numbers rarely predict breakage so rely on tests not tags; IntelliJ warnings and generics help but type erasure and unchecked runtime casts still break consumers; use Maven classpath setups with dependency excludes to run V1 vs V2 tests locally; beware static final inlining of String/primitive constants, checked exceptions are compile-time only, and changing visibility or return types breaks at runtime; prefer sealed classes, records and Builder patterns (Java 15+), streams, enums and immutable collections instead of primitives/arrays to make Java APIs evolvable and safer.

AI-written summary · about

  1. 0:00Resilient Java APIs intro
  2. 4:20Semantic versioning failures
  3. 7:12IDEs misleading API design
  4. 11:35Refactoring without version testing
  5. 13:22Compile vs runtime API pitfalls
  6. 23:22Modern API design with sealed classes
  7. 30:21Avoid primitive and array misuse
  8. 33:54Enums and records for safer APIs
  9. 36:28API evolution best practices
  10. 37:55Future-proof Java APIs summary
~/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.