September 06, 2019
0 strokes bestowed

Graphs Are Everywhere

A few years ago, I was interviewing for a new job and it was the first time I was asked to whiteboard algorithms. It did not go well. In fact, I got my ass handed to me . I was not prepared. With no formal education in computer science, and just a couple years of writing mostly HTML templating and…
Tags
Computer ScienceData Structures and Algorithms
July 17, 2019
0 strokes bestowed
Prefer a video lesson? Watch it instead. Recently, I wrote a tweet that got some attention about not needing else s in your code. Some people got a bit upset about that. Here's that tweet. I still stand by what I said, and I recently came across some code that was a good example of what I was…
May 29, 2019
0 strokes bestowed
Some of you reading this know that I occasionally dust off the old microphone, fire up a text editor and make some educational material that I put on the interwebs. Mostly on egghead . You might even be aware of this very blog post as a direct result of watching one of my lessons. If so, that's…
May 17, 2019
0 strokes bestowed
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…
May 01, 2019
0 strokes bestowed
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
0 strokes bestowed
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
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…
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.

Just Enough Functional Programming Logo
Just Enough Functional Programming

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