News for hackers. Stuff that matters.
Re:Greatest Java apps by mumblemumble on Monday June 29, 2020 @11:58AM (#23678769)
I work in Java every day, and I agree it's been a huge success. But I also don't think it's a good general purpose language. It's absolutely full of warts and gotchas and ergonomic problems and questionable design decisions that even the people who made them have come to regret.

But known history tells us that there is very little correlation between a language's success and how well-designed it is. Outside of software, too - I think the archetype for this phenomenon is probably VHS and Betamax.

Re:Greatest Java apps by the_af on Monday June 29, 2020 @12:05PM (#23678836)
> It's absolutely full of warts and gotchas and ergonomic problems and questionable design decisions that even the people who made them have come to regret.

And which general purpose language isn't?

Re:Greatest Java apps by apta on Monday June 29, 2020 @12:05PM (#23678841)
> questionable design decisions that even the people who made them have come to regret.

Such as?

Re:Greatest Java apps by gschrader on Monday June 29, 2020 @04:50PM (#23682820)
Re:Greatest Java apps by mumblemumble on Monday June 29, 2020 @06:12PM (#23683928)
I think the most interesting one to me was an interview with Joshua Bloch in the book Coders at Work. It was to do with generics, of course, but distinct from the usual surface-level debate over type erasure. He felt that generics were rushed, and that they could have done a better job of sorting out the details of how things were going to work at the language level if they had given themselves more time.
Re:Greatest Java apps by apta on Tuesday June 30, 2020 @01:01PM (#23692165)
This is a good read[1], and they're "fixing" them with specialization.

[1] https://cr.openjdk.java.net/~briangoetz/valhalla/erasure.htm...

Re:Greatest Java apps by chopin on Monday June 29, 2020 @05:40PM (#23683498)
Wild mixes of consumer and provider API's for example in Swing. The later designs have been much better in that regard.

The built-in http client library is borderline horrible.