Functional programming: Difference between revisions
Content added Content deleted
(New page: Category:Programming Paradigms'''Functional programming''' is a programming paradigm that abstracts away the computational state. The program is written in a stateless, and thus immuta...) |
(Created) |
||
Line 1:
[[Category:Programming Paradigms]]'''Functional programming''' is a programming paradigm that abstracts away the
Stateless abstraction ease program semantics definition. In particular it removes the problems with:
* the order of subexpression evaluation,
* aliasing,
* the evaluation time (see [[lazy evaluation]]).
At the same time it makes programming considerably more difficult, especially when the notion of state is natural to the domain space. Functional languages like [[Haskell]] provide some support for stateful programming, see [http://en.wikipedia.org/wiki/Monads_in_functional_programming monads].
|