Tag: functional programming
-
Why functional programming?
This is a post to discuss the benefits of functional programming (FP) for those who don’t use functional programming and I guess most relevant for full stack developers – you love your JavaScript and your SQL children equally. tl;dr: FP combines well with SQL, is easy to learn like Excel, is declarative, makes you think…
-
Composable
What does it mean to say that something is composable in JavaScript? These are some notes after watching the funfunfunction Promises video. Callbacks are not composable, but Promises are. My simple understanding of composing two functions is just calling one function inside another: The example compares callbacks: vs Promises: Or in individual terms, we can…
-
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…