April 29, 2019
0 strokes bestowed

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…
Tags
Just Enough FP
April 27, 2019
0 strokes bestowed
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
0 strokes bestowed
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
0 strokes bestowed
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…
April 14, 2019
0 strokes bestowed
Another fundamental of functional programming is a solid understanding of pure functions. A pure function is one in which its output is derived solely from its inputs, with no side effects. I know that might still seem like gibberish to some of you, so I'll break this down and hopefully make it…
April 08, 2019
0 strokes bestowed
Making sense of functional programming requires a solid understanding of a few fundamental concepts. In my opinion, the first one you need to learn is the concept of "higher order functions". A higher order function is a function that meets at least one of the following requirements: It accepts a…
March 22, 2019
0 strokes bestowed
In 2017, I came across The Mostly Adequate Guide to Functional Programming by Brian Lonsdorf . It's an incredible resource and introduction to functional programming in JavaScript. It inspired me to start giving talks about functional programming in 2018. After giving the talk several times, I…
February 02, 2019
0 strokes bestowed
A few months back, Jason Lengstorf and I started a gathering for people in Portland to get together, relax, and get to know one another. Our biggest night so far had over 30 people crowding this cozy little backroom of a local bar. It was great. A lot of people have expressed experiencing…
January 27, 2019
0 strokes bestowed
If you look just above the title of this post, you should see a beard icon and the phrase ${strokes} bestowed . It's a fun little indicator of how many likes this post has received to date. I built this using a Firebase Realtime Database . For those of you unfamiliar with Firebase, it's a cool…
January 24, 2019
0 strokes bestowed
I made mention in my "What Are State Machines?" post of the fact that a state machine is a graph data structure. Each state a node. Each transition an edge triggered by an event. You remember, right? No worries if you don't, now you know. I also mentioned you can do cool things like create a…
Previous12
3
45678Next

Let's talk some more about JavaScript, React, and software engineering.

I write a newsletter to share my thoughts and the projects I'm working on. I would love for you to join the conversation. You can unsubscribe at any time.

Introduction to State Machines and XState Logo
Introduction to State Machines and XState

Check out my courses!

Liked the post? You might like my video courses, too. Click the button to view this course or go to Courses for more information.
View on egghead.io