by haglin · 8y ago · 0 comments
jshell> "Hello World!"
$1 ==> "Hello World!"
And Swift is a much better designed language for this than Java.
I don’t think the argument in the linked article is very good but this apology is worse. It doesn’t really show any merit of Java (more that the repl in Java is much less powerful than in eg CL) or argue against the spirit of the article.
Take lambdas for example, the amount of arbitrary exceptions you have to keep in mind while using them makes it almost not worth the effort. It's still the same old crappy Java; only with shiny, barely working marketing gimmicks duct taped to the side.
You're right, but to be fair the article is almost 7 years old, and Java has evolved a lot.
https://dzone.com/articles/java-8-lambas-limitations-closure...