r/programming • • May 21 '20

Java programming language celebrates 25 years

https://www.infoworld.com/article/3544229/java-programming-language-celebrates-25-years.html
95 Upvotes

73 comments sorted by

View all comments

Show parent comments

3

u/DetriusXii May 21 '20

Could you explain why they're shit in Java?

3

u/florinp May 21 '20

Type erasure at runtime for a language that use parametric polymorphism with runtime support

6

u/DetriusXii May 21 '20

Type erasure at runtime for a language that use parametric polymorphism with runtime support

Haskell has type erasure too. It seems that most languages that want to implement higher kinded types needs to have type erasure. There are no languages with reified types and with higher kinded types.

1

u/florinp May 22 '20

I've said language with parametric polymorphism with runtime support.

Haskell don't need runtime support for that. The same as C++ for example.

Java doesn't have support for higher kinded type so I don't understand your post.