David Li
7 min readMar 3, 2023

--

title img

Functional programming is a programming paradigm that focuses on creating software applications by composing pure functions that avoid changing state and mutating data. In functional programming, functions are treated as first-class citizens and can be passed around like any other value, including being returned from other functions.

Functional programming differs from imperative programming in that the latter focuses on describing how the program should be executed step-by-step…

--

--