This document outlines 10 reasons to invest time in functional programming (FP):
1. To learn FP concepts like parallel collections, higher order functions, and immutability.
2. FP utilizes parallel collections that allow operations like mapping, reducing, and filtering collections concurrently.
3. FP focuses programmers on the essence of algorithms through immutable values and avoidance of side effects.
8. Higher order functions
Map –> Applies a given fn to each
element
Reduce –> Combine / Accumulate /
fold / compress results though
combining operation
27. Immutable
It is highly
recommended that value
objects be immutable.
They are created with a
constructor, and never
modified during their
life time.
Eric Evans