Embed presentation
Download to read offline









Functional programming aims to mimic mathematical functions by making computation based on functions rather than processes with side effects. It uses functions, higher-order functions, immutability, recursion, and lazy evaluation as building blocks rather than objects, encapsulation, polymorphism, and inheritance. Code in a functional style, such as using sum rather than a for loop, can have benefits including being easier to reuse and test as well as enabling concurrency due to a lack of side effects from immutability.








