Tagged: functional-programming

Recursion Can Be Weirder Than You Think

I love recursion. I think it’s a very elegant way of writing code, and sometimes it lets you write simple but yet effective pieces of code. And if you happen to use languages like...

Practical Functional Programming

The following is reformatted from a presentation I gave at LinkedIn last year. The presentation attempted to explain functional programming without using concepts like “monads” or “immutability” or “side effects”. Instead it focuses on...

Functor Applicative and Monads

I am putting my understanding about functor,Applicative and Monad after spending few days to find out what monad is . Here is what I found. I am using Kotlin to explain with examples Read the...

Query Select All The Things!

Almost all the Codepens I’ve written this year have had some form of a JavaScript function that I call qs()(). That’s not a typo! There are two sets of parenthesis following it, and it...