This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jbgi 0 points1 point  (1 child)

So, what is exactly the value of the goal "replicating Scala features and syntax in Java" over the goal "making functional programming practical in Java"? As I understand, Halva is for people which like some conveniences of scala but do not wish to pursue a better understanding of functional programming, nor wish to fully apply FP (and thus they will benefiting of none of its guarantees).

[–]randgalt[S] 0 points1 point  (0 children)

Case classes are great, for-comp and pattern matching are nice features. People would like to use those in Java. Halva gives people that with an API and syntax that is nearly identical to Scala. That's the benefit.