November 2017
Beginner
316 pages
6h 40m
English
The functional programming paradigm originates from a purely mathematical ideology--the theory of functions. It treats all subprograms as functions.
Functions (in a mathematical sense) take an argument list and return outputs after computations. The result is dependent on the computations, which are themselves dependent on the inputs we provide to the functions. The focus is on the values and how the expressions are evaluated, rather than statements, as in the imperative paradigm.
Consecutive states are not valid in the functional paradigm. The result from a function would be an input to another expression and would not be saved as a variable.
The functional paradigm is a cleaner and simpler programming paradigm ...
Read now
Unlock full access