Functional Programming Revised

Programming Styles

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

TIP: While programming THINK declaratively then program functionally

Edit this page on GitHub

Links to this note