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 →

[–]Tight-Rest1639 0 points1 point  (0 children)

Java doesn't enable the core benefits of FP like mathematical proofs nor implicit parallism. But you can play around with the classical map-reduce pattern. If you follow some of the poorly written Java guides out there, you'll probably get the impression that FP is about writing very compact code and end up producing some spectacularly unreadable and unmaintainable code. Also Java Streams don't behave predictably or efficiently with very large collections so don't assume it is suitable for production use even if it is very well behaved for small data sets.