In Functional programming (FP), you will pass functions to other functions as parameters.
It is a declarative paradigm that treats computation as the evaluation of mathematical functions.
With functional programming (FP), the code is organized around:
imperative vs Functional 1)
The application of several function programming operations creates a composite type called a Algebraic data type
In the same vein that SQL,
Multiple invocations of a function at different points in time will always return the same output as long as the input remains the same. It makes it easy to understand and predict the behavior of the program.
The five collection operations functions hold a key to simplifying asynchronous programming and avoiding race conditions, propagating and handling asynchronous errors, and sequence events and requests.
Functional programming defines standard functions on collections.
Most of the operations, you perform on collections can be accomplished with this five pure functions:
Others functions:
Nix is a pure function language.
JVM based Functional Programming Languages