Skip to content

Instantly share code, notes, and snippets.

@nexxeln
nexxeln / modern-fp.md
Created December 17, 2022 09:08
Scrapped blog post

What is Functional Programming?


Functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids changing state and mutable data. This means that in functional programming, functions are first-class citizens, which means that they can be treated like any other value in the language and can be passed as arguments to other functions or returned as the result of a function.


In short functional programming: