View on GitHub

reading-notes

CodeFellows Class Reading Notes

Concepts of Functional Programming in Javascript

Functional Programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data

Pure Functions:

Immutable Dat:

Pure functions + Immutable Data = Referential Transparency

Referential Transparency:


Functions as First Class Entities:

Higher-Order Functions:

-take one or more functions as arguments OR


Refactoring JavaScript for Performance and Readability (with Examples!)

hash function is used to map a given key to a location in the hash table

Strategies for easier to read code:


Home