This Presentation helps us to understand what is functional programming and its concepts.
I have created simple examples in plunker to walk through
- Imperative vs Declarative Programming (http://plnkr.co/edit/TjqSpd2D8URHdF0uXA4n?p=info)
- Functional vs Non Function Programming (http://plnkr.co/edit/JDLzOjyqY7KXoBl4HQFj?p=info)
- Pure vs Impure Functions (http://plnkr.co/edit/AoDc4haMj5YVa80tfJKg)
- Higher order functions (http://plnkr.co/edit/rpqASgHTwh8YEuKBTlnm?p=preview)
- Avoid using Iterators (for/while)
- Avoid Mutability (http://plnkr.co/edit/1WCYQ2SXe3OvhaytpIuj?p=preview)
- Persistent data structures for efficient immutability - Using Immutable JS (http://plnkr.co/edit/VOSVbpHKPyBv6REQnCA2?p=preview)
Diagram to show Map, Reduce
