Java Generics

Java Generics

Update: 2025-08-03
Share

Description

An airhacks.fm conversation with Maurice Naftalin (@mauricenaftalin) about:
Java generics history and introduction timeline,
the Pizza paper proposal by Phil Wadler and others,
Type erasure vs Reification debate,
binary compatibility considerations,
Java Community Process politics and Apache Harmony licensing issues,
evolution from JCP to JEPs process,
legacy collection types like Vector and Hashtable with small 't' naming inconsistency,
thread safety removal in Java 2 collections,
generics applied to classes methods and constructors,
unusual generic constructor example,
Covariance and contravariance,
invariant covariant and contravariant types,
array covariance and ArrayStoreException,
wildcards with extends and super bounds,
PECS (Producer Extends Consumer Super) principle by Josh Bloch,
Get and Put principle alternative,
sealed interfaces potential impact on generics,
reflection access to generic type information despite erasure,
Class generification and type literals,
raw types vs unbounded wildcards distinction,
reifiable types definition,
unchecked warnings importance,
Service Loader usage with generic type checking for plugin systems,
minimalist Java SE approach for long-lasting enterprise projects,
syntactic sugar as code generation,
records implementation as constrained classes,
comparison of C++ templates criticism to Java generics adoption,
the Java Generics and Collections book

Maurice Naftalin on twitter: @mauricenaftalin

Comments 
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Java Generics

Java Generics

adam-bien.com