logoalt Hacker News

tpm06/04/20251 replyview on HN

Type erasure is what is wrong with Java generics. It causes many issues downstream.


Replies

throwaway203706/04/2025

    > It causes many issues downstream.
I don't understand this part. Can you give some concrete examples? In my experience, Google Gson and Jackson FasterXML can solve 99.9% of the Java Generic issues that I might have around de/ser.
show 1 reply