Functional programming in Java feels like an afterthought, clunky, and less integrated compared to languages like Scala where it is a core principle.
Scala embraces functional programming with simple to highly advanced constructs; libraries like Cats and ScalaZ offer powerful but complex functional features at the expense of code quality.
Collection
[
|
...
]