Functional programming

2016-01-04 — 2024-05-30

Wherein computation is treated as the evaluation of mathematical functions, mutable state is avoided, functions are allowed as values, and their use in differentiable and probabilistic languages is noted while memory reuse is studied.

compsci
computers are awful
concurrency hell
grammar
stringology
Figure 1

A model of computation of some interest, functional programming is a style of programming that treats computation as the evaluation of mathematical functions and avoids changing state and mutable data. In functional programming, functions are first-class citizens, meaning they can be passed as arguments to other functions, returned as values from other functions, and assigned to variables. Many useful programming languages have a functional core and a more imperative shell, notably most differentiable languages and PPLs.

1 Incoming