
Inspection Driven Development
Good Day, Sir! Show, a Salesforce Podcast
00:00
Is Java Using a Ton of Generics?
When Java implemented generics, they did it via this thing called type erasure. So the compiler can do all these checks, but at runtime, it erases everything down to basically races the generics and the type information away. In PMD you really need the ID to help you because it's going to have to be able to tell you what type context you have. And also I was never like a huge dot net developer. I completely ignored generics until I some somehow decided I needed to learn it.
Transcript
Play full episode