Generics - You Never Know What Youre Gonna Get by Bram Janssens @DevoxxForever
Generics - You Never Know What Youre Gonna Get by Bram Janssens  @DevoxxForever
Uploaded April 2026 | Updated September 2026, 2 weeks ago
Please subscribe to our YouTube channel @ youtube.com/@DevoxxForever
Subscribe to LinkedIn @ linkedin.com/company/voxxed-days-amsterdam
Follow us on Twitter @ twitter.com/voxxedamsterdam

You might think Java is type-safe, but did you know you can *break* type safety too? It all comes down to variance: co-, contra-, and invariance.

Maybe you’ve heard of these terms, but you’re not entirely sure what they mean or how to use them effectively. That was exactly my situation — even after more than ten years of experience with Java. I’ve noticed this same knowledge gap among the students I teach.

Type safety gives us reliability but also adds complexity compared to weakly, dynamically typed languages. Why do we even have types? What makes something a subtype? Do you think you can pass an Integer into a parameter of type Number? And what about a “type that has a type”? Generics are Java’s way of handling such cases, but they can introduce unexpected and sometimes seemingly illogical behavior. For example: Can you pass a List into a parameter of type List? What is a capture, and why do you sometimes see errors like "add(capture of ? extends A) cannot be applied to S"?

In this talk, I’ll demystify these concepts and explain them in a way you’ll never forget. You’ll impress your colleagues, gain a competitive edge, and be better prepared to understand and write reusable (framework) code.
Generics - You Never Know What Youre Gonna Get by Bram JanssensFrameworkDesktop and IncusOS, a perfect combination for running LLMs locally by  Peter SminkThe Ultimate Showdown of Database Migration Tools by  Pasha Finkelshteyn & Mikhail PolivakhaHow to survive and thrive as a dev (team) in the exponential age of AI by Sander HoogendoornHow I built my own Intelligent Robot Arm from Scratch by Iulia FeroliTechnical Enshittification: Why Everything in IT is Horrible Right Now and How to Fix It by Baruch SFrom Shadows to Spotlight - How Swiss Post Performs Reliable ML Deployment by Giovanni DegiorgiGearing up to Java 25: Key Language Features by Venkat SubramaniamAI at Every Step: Why Are You Still Doing the Dev Cycle by Hand? by Daniël FloorDon’t Panic! A Guide to Keeping the Human Edge in a Universe of Instant Output by Janina SutterUn-observable AI is un-trustworthy AI  by  Annie FreemanWelcome to Voxxed Days Amsterdam 2026 - Opening (room 1)
Devoxx |

Generics - You Never Know What You're Gonna Get by Bram Janssens

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER