Functional programming
In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions. It is a declarative programming paradigm in which function definitions are trees of expressions that each return a value, rather than a sequence of imperative statements which change the state of the program. In functional programming, functions are treated as first-class citizens, meaning that they can be bound to names (including local identifiers), passed as arguments, and returned from other functions, just as any other data type can. This allows programs to be written in a declarative and composable style, where small functions are combined in a modular manner. Functional programming is sometimes treated as synonymous with purely functional programming, a subset of functional programming which treats all functions as deterministic mathematical functions, or pure functions.
Relations
subtopic of Programming language
A programming language is a formal language comprising a set of instructions that produce various kin...
Algebraic effects are an approach to computational effects based on a premise that impure behaviour a...
Programming paradigms are a way to classify programming languages based on their features. Languages...
Edit details Edit relations Attach new author Attach new topic Attach new resource
Resources
treated in Data-first and data-last: a comparison
10.0 rating 5.0 level 9.0 clarity 3.0 background – 1 rating
In this article, we will: 1. Present what data-last is, and why functional languages have been using...
cons given in Immutability is not enough
As I’ve gotten more experience working with immutable data structures, I’ve found that they can be be...