2 ms·
> the single most important characteristic of proper FP is _strictly segregated side effects_. This is one of the best definitions I've come across.
by elcritch 8y ago
> the single most important characteristic of proper FP is _strictly segregated side effects_.
This is one of the best definitions I've come across.
- kazinator 8y agoIf we have pure funtions, that is not "strictly segregated side effects"; pure functions do not have side effects, period. We can segregate side effects very well in imperative code. The segregation of side effects is clearer in a strictly evaluated imperative language than in a lazily evaluated functional language.