Code - Functional programming (FP) - Collection Operations

1 - About

Functional programming (FP) defines standard operations on collections

Most of the operations you perform on collections can be accomplished with five simple functions:

These five functions hold a key to simplifying asynchronous programming and avoid race conditions, propagate and handle asynchronous errors, and sequence events and requests.

Multiple invocation of a function at different point of time will always return same output as long as input remains same. It makes easy to understand and predict behavior of program.

With functional programming (FP), the code should be organized around:

  • pure functions that take data and transform it, without modifying any shared state.
  • around how data 'flows' between these pure functions to produce output data.

3 - Java

JVM based Functional Programming Languages

4 - Documentation / Reference

code/fp/fp.txt ยท Last modified: 2018/10/10 09:55 by gerardnico