Recent articles

Tidy TypeScript: Avoid traditional OOP patterns

Stefan Baumgartner

Written by @ddprrt

Posted in TypeScript, JavaScript, Tidy Typescript

This is the third article in a series of articles where I want to highlight ways on how to keep your TypeScript code neat and tidy. This series is heavily opinionated and you might find out things you don’t like. Don’t take it personally, it’s just an opinion.

This time we look at POOP, as in “Patterns of Object-Oriented Programming”. With traditional OOP I mostly mean class-based OOP, which I assume the vast majority of developers think of when talking OOP. If you come from Java or C#, you might see a lot of familiar constructs in TypeScript, which might end up as false friends in the end.

Tidy TypeScript: Prefer type aliases over interfaces

Posted in TypeScript, JavaScript, Tidy Typescript

Tidy TypeScript: Prefer union types over enums

Posted in TypeScript, JavaScript, Tidy Typescript

TypeScript Docs for Preact.js

Posted in TypeScript

My new book: TypeScript in 50 Lessons

Posted in TypeScript, Books

Go Preact! ❤️

Posted in Preact, React

this in JavaScript and TypeScript

Posted in TypeScript, JavaScript

TypeScript and ECMAScript Modules

Posted in TypeScript, JavaScript, Preact

Want more? Check out all 152 articles
Coding soundtrack

The Good, The Bad, The Ugly

Cinema

Katrina Owen: Succession

Guide

TypeScript + React

Stay up to date!

3-4 updates per month, spam-free, hand-crafted. Our newsletter gives you links, updates on fettblog.eu, conference talks, coding soundtracks, and much more.