Functional programming
November 23, 2022 |
permanent
- tags
- Programming
Programming Paradigm #
In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions. ref
Pros and Cons #
Pros #
- Pure functions (or expressions) have no side effects (memory or I/O)
- Can make use of multiple CPU cores effectively languages do not have variables, per se, so there can be no conflict between threads or processes in sharing variables. ref