The Dao of Immutability (The Way of the Functional Programmer)

Functional programming is a foundational pillar of JavaScript, and immutability is a foundational pillar of functional programming. You can’t fully understand functional programming without first understanding immutability. This story may help.

Forward

I was wandering the archives of an old library, and found a dark tunnel that led to the chamber of computation. There I found a scroll that seemed to have fallen on the floor, forgotten.

The scroll was encased in a dusty steel tube and labeled: “From the archives of The Church of Lambda.”

It was wrapped in a thin sheet of paper that read:

A master programmer and his apprentice sat in Turing meditation, contemplating the Lambda. The ...

Get Composing Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.