A Formula for Happiness

How functional programming practices can be applied to the way we think and feel

Anirudh Eka
9 min readDec 10, 2018
Credit: Aleutie/iStock/Getty Images Plus

When we model anything, we simplify it. Even if we want to represent something as basic as a drop of water, we do not paint each atom in the drop.

Photo: Anirudh Eka

Instead, we try to distill the most relevant aspects of the subject, which are determined by the purpose of the model. If our purpose is to evoke the idea of a water drop, the color and shape is probably enough.

Modeling is nothing new for us. In order to navigate the overwhelming complexity of our lives, we build mental models and act based on them before we ever consciously realize it. For example, when I was very young, I would become anxious to the point of crying if the sun set before my parents took me home from school. The process behind my anxiety looked something like this:

All illustrations: Anirudh Eka

I associated the sun setting with having to go to bed, which meant if I got home after sunset, I wouldn’t have any time to play. And…

--

--

Anirudh Eka

Passionate about finding patterns in computers, society and minds. Follow on twitter for free links! https://toomanynames.com/