May 17, 2019

Just Enough FP: Composition

Composition is the culmination of all the previous "Just Enough FP" blog posts. It's where we combine our knowledge of higher order functions , currying , partial application , and pointfree programming into a new concept that can really unlock our functional potential. Before I get into…

Categories
JavaScriptWeb DevelopmentFunctional Programming
May 01, 2019

Just Enough FP: Pointfree

Pointfree programming is a style of programming free of points. Great, you got it. Blog post over. Just kidding! While my first sentence is true, it's pretty unhelpful, so let me explain what pointfree programming is a little bit better. In order to explain pointfree, we first need to understand…

April 29, 2019

Just Enough FP: Argument Order

In a previous post on currying , I used a filter function in a way that may have left you scratching your head. Not because you were still learning currying, but for other reasons. Let me quickly write that function again for reference in this post: Our curried filter function receives a…

April 27, 2019

Just Enough FP: Partial Application

I mentioned partial application several times in my previous post on currying with the promise of going in more detail about it in the future. I'm fulfilling that promise now. Or resolving. There's an easy pun or two there if you look for them. Partial application is the act of applying some, but…

April 26, 2019

Just Enough FP: Currying

Currying is, by far, one of the coolest things I've learned in the last few years. When it clicked in my brain, it was such an intense epiphany that I literally ran to the other room and begged my wife to join me in the office so I could explain it to her on the whiteboard. She doesn't know a thing…

April 21, 2019

Just Enough FP: Immutability

Alright, I know that the title of this post already contains some technical jargon that's potentially intimidating. But if you've made it this far, I assure you, you can understand this concept. Let's define "immutability". The fastest way to do that is to start with its antonym--"mutability…

1
2345678910111213Next