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

8

u/backelie May 21 '20

Pre-generics Java was a shit language.

0

u/[deleted] May 21 '20

[deleted]

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".

17

u/[deleted] May 21 '20

Yeah, perhaps if the industry had been less obsessed with object oriented XML in the 90's, we wouldn't still be rediscovering 30 year old ideas as if they were new.

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.