Functional Programming

Functional programming is a declarative programming paradigm in which programs are constructed through the composition of functions, where each function is an expression that returns a value.

Attributes of Functional Programs

AttributeDescription
First Class FunctionsFunctions can be bound to names, treated as variables, passed as arguments, and returned as the results of other functions
Pure FunctionsFunctions are deterministic: They always produce the same output from a given input without performing any side-effects (modifying values outside the function)
IdempotenceSide-effects (changes to state) produced by a function will occur only once, even if the function is executed multiple times

Broader Topics Related to Functional Programming

Computer Science

Computer Science

The study of algorithms, data structures, information, and computation

Functional Programming Knowledge Graph