Training Grounds
Master the fundamentals before entering the pattern arena.
OOP Core
Classes, objects, encapsulation, inheritance, polymorphism, and the building blocks of object-oriented design.
Abstract vs Concrete
Interfaces, abstract classes, contracts, structural typing, and 'program to an interface'.
Relationships
Is-a, has-a, composition, aggregation, dependency, delegation, and lifecycle ownership.
UML (Practical)
Reading and drawing class, sequence, and state diagrams. Whiteboard interview skills.
SOLID & Principles
SRP, OCP, LSP, ISP, DIP, DRY, KISS, YAGNI, coupling, cohesion, and composition over inheritance.
Dependency Concepts
Dependency injection, IoC, DIP, NestJS DI, service locator, and testability.
Design Vocabulary
Context, client, handler, subject, wrapper, delegation, and all the terms patterns use.
Anti-Patterns & Smells
God class, spaghetti if-else, primitive obsession, feature envy, anemic model, and how to fix them.
Process Skills
Turning requirements into entities, noun/verb extraction, CRC cards, choosing interfaces, interview trade-offs.
TypeScript for Design
Generics, discriminated unions, closures as strategies, NestJS decorators, functional alternatives.
Coupling vs Cohesion
Tight vs loose coupling, types of coupling, cohesion levels, and how interviewers judge your class design.
Concurrency Primitives
Mutex, semaphore, read-write lock, thread pool, producer-consumer — just enough to say 'I'd use a mutex here' confidently.
Interface Design
How to design clean class interfaces, when to split them, fat vs thin, and what interviewers judge in your method signatures.
Enums & Type Safety
State machines with enums, discriminated unions, exhaustive switches, and handling 'what if we add a new type?' gracefully.
Error Handling Strategies
Exceptions vs result types, where to catch, fail-fast, null returns vs Optional, and error propagation across layers.
Immutability & Value Objects
When to make things immutable, value objects vs entities, defensive copying, and why Money should never be a plain number.
Event-Driven vs Request-Response
When to use direct calls, callbacks, events, polling, or webhooks — conceptual foundation before Observer and Pub-Sub.
Data Modeling for LLD
Which fields go on which class, when to normalize in-memory models, and how interviewers judge your class diagrams.