Hacker News new | ask | show | jobs
by mcphage 3571 days ago
> I also believe the crazy complexity of OO languages like Java is slowly being reigned in.

Java itself is a pretty simple language, and the complexity of programs written in Java is partially due to the spareness of the language.

1 comments

Java didn't have generics either, until Java 5, when they've added an implementation with use-site variance with wilcards, for backwards compatibility reasons probably, but which is very user unfriendly. The irony is people complain about type erasure as being Java's problem, when in fact that has been one of its greatest features.

But anyway, the creators of Go where right to fear generics, b/c generics are hard. However the more time passes, the harder it is going to be to add. And truth is it's inevitable for generics to happen in Go and when they'll do they'll be half baked.

And remember that Java has striking similarities. Java is also a very opinionated and anti-intellectual language.