The Rise and Fall and Rise of Functional Programming (Composing Software)
Eric Elliott
3.5K27

  1. Functions can be anonymous: double(x) => x + y can be expressed as (x, y) => x + y.

Uh, say what?

Responding to the commenter below, while Elm is nice, JS functions can be as pure as you want them to be. While vanilla JS does not enforce purity or immutability, that doesn’t prevent the programmer from writing pure functions and immutable code. Take a look at Ramda, Sanctuary, Fluture, Fantasy Land, Static Land, MobX, Inferno, elmar.js, and more.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.