Tag: functional programming
-
Why Functional Programming?
tl;dr: FP combines well with SQL, is easy to learn like Excel, is declarative, makes you think of data as a whole, is backed by mathematics and most importantly has less bugs (which has a “compound-interest” benefit). This is a post to discuss the benefits of Functional Programming (FP) for those who don’t use functional…
-
Composable
What does it mean to say that something is composable in JavaScript? These are some notes after watching the funfunfunction Promises video. Composing two functions is calling one function inside another: The video compares callbacks: vs Promises: Callbacks are not composable, but Promises are. Or in individual terms, we can return a promise from each…
-
Functional Learnings of Python

Photo credit: cheers Hembo Pagi This is my attempt at converting a solution to a pascal’s triangle problem that I’d written in an imperitive manner into a functional one. I kind of hope that anyone reading this is also trying to figure out the meanings behind functional programming, I’m trying to describe all the steps…