functional programming

noun
UK /ˈfʌŋkʃənəl ˈprəʊɡræmɪŋ/
US /ˈfʌŋkʃənəl ˈproʊɡræmɪŋ/

A way of writing computer programs by building small helpers that each do one job and give back a result.

She learned functional programming so her code would be easier to test and reuse.


OTHER MEANINGS

2. A style of coding that avoids changing data and instead creates new values.

In functional programming, you never modify the original list; you make a new one.

3. A programming paradigm that treats computation as evaluating mathematical functions.

Functional programming treats a program as a series of function evaluations.

4. An approach that passes functions as arguments to other functions.

Functional programming makes it natural to pass a function into a sort routine.