Archive: 2018

Async Programming in Node.js

Callbacks, Promises, Async/Await (oh my!)CallbacksWhen Node.js was first introduced, it shipped a pattern of dealing with I/O that was very callback-heavy:var fs = require('fs')var file = './fileName'

Getting started with Babel and Webpack

You’ve heard about them, maybe you don’t know why you’d use them, maybe you just want to know how to get started with them. Read on!Why?Imagine you have written some JavaScript code, and you want to d

An Attempt At Explaining Category Theory

This is mostly a personal notebook of what I think I have learned. I make no guarantee about the accuracy of anything said here, I would appreciate any corrections or feedback on anything [I’ve ever]