News for hackers. Stuff that matters.
Re:Modern Java – A Guide to Java 8 by malcolmgreaves on Monday November 16, 2015 @03:46PM (#10577026)
IMO Java doesn't shine anywhere. It's statically typed, but lacks support to be flexible. Thus many Java programs rely on reflection at runtime or casting. This negates all of the benefits of static typing, turning the language into a dynamic one.

The main choice is then either Clojure or Scala. This comes down to dynamic versus static type checking. With a dynamic language, one is significantly less sure if a program is correct. In large programs that use dynamic languages, many tests must be created that are essentially doing the work that a type checker in a static language would do automatically.

In a static language, entire classes of bugs are eliminated. Scala provides the best support for strong, static typing on the JVM.

Re:Modern Java – A Guide to Java 8 by incepted on Tuesday November 17, 2015 @12:19AM (#10579301)
> Scala provides the best support for strong, static typing on the JVM

I'd argue that Ceylon and Kotlin offer most of Scala's advantages with none of its baggage and bloat. And drama.

Re:Modern Java – A Guide to Java 8 by lmm on Tuesday November 17, 2015 @11:47AM (#10582260)
All those things will come as those languages mature, and until then neither has much library or tool support.
Re:Modern Java – A Guide to Java 8 by incepted on Tuesday November 17, 2015 @11:33PM (#10585934)
No tool support?

Kotlin and Ceylon both have very good IDE plug-ins that already work much better than Scala, despite Typesafe pouring a lot of money into their own plug-in.

Re:Modern Java – A Guide to Java 8 by lmm on Wednesday November 18, 2015 @03:10AM (#10586574)
There are a lot more tools in the JVM ecosystem than just IDEs, and by now most of them have Scala support.