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

23

u/MattCubed May 21 '20

ML had parametric polymorphism (what Java calls generics) with full Hindley-Milner type inference in the 70s.

0

u/[deleted] May 21 '20

[deleted]

20

u/MattCubed May 21 '20 edited May 21 '20

I wasn't trying to brag about functional programming. I'm just disputing the claim that "generics were shit in 1995".

1

u/slowpush May 22 '20

They were shit in 1995. The only choices that Java had in terms of actual proposals were absolute garbage.

Arguing about the theoretical "well FP had it" is just circlejerking.

3

u/MattCubed May 22 '20

Ah ok, I misinterpreted "generics were shit in 1995" as "the concept of generics in general was poorly developed in 1995", but it seems you meant "all proposals to add generics to Java were shit in 1995". That seems fair.