Skip to content

mohanramphp/Functional-Programming-in-Javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Functional-Programming-in-Javascript

This Presentation helps us to understand what is functional programming and its concepts.

I have created simple examples in plunker to walk through

Key concepts are

  1. Imperative vs Declarative Programming (http://plnkr.co/edit/TjqSpd2D8URHdF0uXA4n?p=info)
  2. Functional vs Non Function Programming (http://plnkr.co/edit/JDLzOjyqY7KXoBl4HQFj?p=info)
  3. Pure vs Impure Functions (http://plnkr.co/edit/AoDc4haMj5YVa80tfJKg)
  4. Higher order functions (http://plnkr.co/edit/rpqASgHTwh8YEuKBTlnm?p=preview)
  5. Avoid using Iterators (for/while)
  6. Avoid Mutability (http://plnkr.co/edit/1WCYQ2SXe3OvhaytpIuj?p=preview)
  7. Persistent data structures for efficient immutability - Using Immutable JS (http://plnkr.co/edit/VOSVbpHKPyBv6REQnCA2?p=preview)

Diagram to show Map, Reduce

Image to show concept of map and reduce

About

This Presentation helps us to understand what is functional programming and its concepts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published