My TypeScript Software Design & Architecture book just prelaunched! Check out


Short form notes, thoughts, ideas & answers to frequently asked questions

Static Factory Methods | Object-Oriented Programming w/ TypeScript
Nov 21st, 2019 / 1 min read

Go read "When to Use a Private Constructor | Object-Oriented Programming w/ TypeScript". You'll use static factory methods for the same…

When to Use a Private Constructor | TypeScript OOP
Nov 21st, 2019 / 3 min read

One of the first things we learn when we start out is how to create instances of objects. Typically, we do this with the keyword. The…

Brutalist Web Design
Nov 5th, 2019 / 9 min read

Readers of either love or hate the design of the site. When I was designing the site, I knew that I wanted to draw a…

How to Setup a TypeScript + Node.js Project
Aug 29th, 2019 / 10 min read

We talk about a lot of advanced Node.js and TypeScript concepts on this blog, particularly focused around Domain-Driven Design and large…

What's Unscalable about JavaScript? | TypeScript OOP
Aug 21st, 2019 / 2 min read

Microsoft called TypeScript JavaScript that scales... what's so unscalable about JavaScript? With respect to software development, there are…

All about TypeScript Static Members | TypeScript OOP
Jul 7th, 2019 / 6 min read

In Object-Oriented Programming, we write a lot of classes. Classes contain properties (methods and attributes) which hold variables and…

Where Do Domain Events Get Created? | Domain Driven Design w/ TypeScript
Jul 4th, 2019 / 5 min read

Last time, we talked about how to create a facade over our ORM using the Repository pattern. Today, we're talking a little bit about where…

TypeScript & JavaScript Getters and Setters: Are they useless?
Jul 1st, 2019 / 6 min read

Join the discussions on Hackernews and Reddit. Getters and setters (also known as accessors) were introduced to JavaScript when ECMAScript…