Created
February 3, 2017 13:23
-
-
Save swapnilmishra/99c99f6b49a1c6759674bedf319ef0fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function programming | |
=================== | |
Where Computations are modelled as evaluation of expressions | |
1. Functions are first class citizens - HOC, map | |
2. Functions don't produce side effects - | |
2.1 dont't access global variables, produce same return value given the same arguments | |
2.2 Uses immutable data structures | |
2.3 Memoization/Lazy evaluation - since with same arguments function return values are same they can be memoize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment