Functional Programming Revised
Functional Style = Declarative Style Programming + Higher Order Functions
Favour Immutability
Functional Programming code is optimized for LazyEvaluation .
If we perform impurity or mutability in code then LazyEvaluation goes haywire.
Functional Programming -> RELIES ON -> LazyEvaluation for Performance -> RELIES ON -> Immutability for Correctness
Supports Functional Composition and LazyEvaluation
It removes Accidental Complexity
Edit this page on GitHubTIP: While programming THINK declaratively then program functionally