3 ms·
> Java 11, with the introduction of lambdas, makes it trivial to express what used to require 10-15+ lines in 1-3 lines. Makes this bit from the OP shine: "Bi
by wwweston 5y ago
> Java 11, with the introduction of lambdas, makes it trivial to express what used to require 10-15+ lines in 1-3 lines.
Makes this bit from the OP shine:
"Bill Joy ... was often comparing [Oak/Java] to more complicated and elegant languages like Python and Beta. He would often go on at length about how great [Oak/Java] would be if he could only add closures and continuations and parameterized types."
I'm sure they faced tradeoffs and Java's industry story is near unmatched so it's hard to argue they made categorically wrong tradeoffs, but imagine an alternate universe in which lambdas/closures and a few other features tamed verbosity and enabled python-comparable succinctness in Java back in the 90s.
- kitd 5y agoIIRC Java had green threads and coroutines in its initial implementations. Imagine if they had kept them. People would probably complain they're unnecessary bloat. Never got all the complaints about Java. It's a very versatile "good enough" language with a great ecosystem.