News for hackers. Stuff that matters.
Re:Java at 30: The Genius Behind the Code That Changed Tech by fidotron on Friday May 16, 2025 @10:57AM (#44006283)
I think it's incredible with hindsight how Java countered many of the mid 90s C++ problems, especially by avoiding multiple inheritance.

It remains a shame that it didn't launch with generics though, and I still think operator overloading would have been good. Had it done so I think a lot more people would have stuck around for when the performance improved with HotSpot.

Re:Java at 30: The Genius Behind the Code That Changed Tech by astrange on Friday May 16, 2025 @08:44PM (#44011127)
> I think it's incredible with hindsight how Java countered many of the mid 90s C++ problems, especially by avoiding multiple inheritance.

This is because Java is based on an older language called Objective-C that doesn't have multiple inheritance :)

It's not based on C++, that's just the other OO language from the era people usually think of.

Re:Java at 30: The Genius Behind the Code That Changed Tech by fidotron on Saturday May 17, 2025 @07:52AM (#44013625)
> This is because Java is based on an older language called Objective-C that doesn't have multiple inheritance :)

No it's not, certainly not any more than it's "based" on Smalltalk.

Re:Java at 30: The Genius Behind the Code That Changed Tech by astrange on Saturday May 17, 2025 @02:55PM (#44016230)