News for hackers. Stuff that matters.
Re:Type erasure and reification by paulddraper on Wednesday December 05, 2018 @01:31PM (#18611023)
> Contrary to popular belief, Java's choice of erasure was not dictated by backward compatibility concerns but because erasure is a sound approach for type system representation.

That statement is obviously wrong since Java did not choose type erasure.

https://docs.oracle.com/javase/8/docs/api/java/lang/Object.h...

In Java 5, generic types were added. And those Java chose to erase.

So Java chose both: to reify and erase.

There are no comments on this comment yet.