7
Back to Training Grounds
4.10

TypeScript & JavaScript for Design

Generics, discriminated unions, readonly, private fields, closures as strategies, functional alternatives to patterns, module pattern, EventEmitter, NestJS decorators

Introduction

TypeScript & JavaScript for Design

TypeScript is not Java. Some design patterns translate directly. Others have simpler alternatives because TypeScript has features Java lacks (closures, union types, structural typing). This lesson covers the TS/JS features you need for clean design work.


1 / 11
1 / 11 β€” Introduction