Functional programming

Updated: 11/16/2019 by Computer Hope
functional programming

Functional programming is a style of computer programming based upon the evaluation of mathematical functions. It's a declarative style of programming, meaning that it uses clearly-defined logical expressions, but doesn't state what the computer should do at each step. An axiom of functional programming is that a function should return the same result for any given set of arguments. Functions adhere to this concept, "same arguments, same result," no matter how often the function is evaluated.

A common feature of functional programming is immutable objects). When the value of an immutable object is set, it cannot be changed. Instead, copies of the object are created and modified. Using this approach, increases data security and simplifies debugging.

Examples of functional programming languages

Idempotence, Programming language, Programming terms