Good, Bad and Ugly of Java Generics
Java introduced Generics in the 1.5 version (Java 5). What are the capabilities of Generics?
How do you use it? Are there some gotchas in using it? In this example driven presentation,
we will start at the basics of generics and look at its capabilities. We will then look at some
of the under the hood details on generics implementation. We will then delve into the details of
some of the changes to Java libraries to accommodate generics. Finally we will take a look at
some restrictions and pitfalls that we need to be familiar with when it comes to practical and
prudent use of generics.
Topics:
• Need for Generics
• Generics in Java
• Bounded Parameters
• Wildcard
• Restrictions
• Generics Implementation
• Effect of Erasure
• Java libraries changes
• Pitfalls and pragmatics
Benefits:
• Know your generics
• See how to create your own generics
• Understand issues with converting to genetics
• Learn the limitations
• Attain the wisdom
• Decide if this if for your project
About Venkat Subramaniam
Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., creator of agilelearner.com, and an instructional professor at the University of Houston.
He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences. Venkat helps his clients effectively apply and succeed with sustainable agile practices on their software projects.
Venkat is a (co)author of multiple technical books, including the 2007 Jolt Productivity award winning book Practices of an Agile Developer. You can find a list of his books at agiledeveloper.com. You can reach him by email at venkats@agiledeveloper.com or on twitter at @venkat_s.
More About Venkat »