Published in


Experienced Developers, Use These Generics Quirks to Avoid Weird Bugs

3 quirks you should know to remove the common generics issues

Business photo created by yanalya —

Do you know about PECS? Do you know about intersection types? Do you know where generic arrays creation is used?

Most Java developers use generics without deeper knowledge. And you should know the answer to these…




A humble place to learn Java and Programming better.

Recommended from Medium

Binary Search!

Facade | Cheat Sheet

Thor, son of Odin V2 from Marvel Diorama

Thor, son of Odin V2 from Marvel Diorama

Anypoint MQ REST Broker API

Firebase App Distribution vs Testflight

Building EVM Modules to replace JS Dependencies for Web3 Apps

The rules of Agile

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Miloš Živković

Miloš Živković

Java and dev lifestyle stories. Subscribe for limitless reading: Check out some of my e-books:

More from Medium

5 Bad Testing Practices Seasoned Java Developers Don’t Like to See

How To Use Choice and When in Apache Camel?

Write custom validator for request body in Spring Boot

Java Functional Programming — Part 1