Wednesday, August 1, 2018

Compose Tetris

Compose Tetris

So let’s talk composition. As programmers we see composition constantly. It’s there even if you’re not aware. If we have two functions f and g and we apply them one after the other, we’re doing function composition. It’s fun to note that composition is associative.

No comments:

Getting Started

Let's get started by writing a test for a hypothetical function that adds two numbers. First, create a sum.js file: Then, create a fil...