Search

Lessons (27)

  • Advanced TypeScript for Frontend

    … boundaries. Model impossible states out of the UI TypeScript is most useful when it prevents invalid combinations before …

  • TypeScript Essentials

    … They're erased from the output, so TypeScript adds zero runtime cost. ts function total(price: number, quantity …

  • TypeScript in Practice

    … Data from the outside world (HTTP bodies, JSON files, env vars) must be validated , and then TypeScript can …

  • Choosing a Programming Language

    … How to compare JavaScript/TypeScript, Python, Go and Rust by runtime, typing, concurrency and team fit, plus the …

  • Interfaces vs Abstract Classes

    … Learn the difference, how to use each in TypeScript, and how to choose. The big idea - An interface …

  • Polymorphism

    … methods with the same name and different parameters). TypeScript lets you declare overload signatures , but there's still …

  • React vs Vue vs Angular

    … for ) Language JS or TS JS or TS TypeScript (required) Reactivity Re-render + diff Proxy-based tracking Signals …

  • Classes and Objects

    … cannot read 'name' of undefined button.addEventListener("click", () = rex.bark()); // ✅ arrow keeps this A shorter constructor (TypeScript) TypeScript …

  • What Is Object-Oriented Programming?

    … structs + methods + interfaces Rust Structs + traits, no inheritance This course uses TypeScript , but the ideas carry over to …

  • Encapsulation

    … string) { this.id = id; this.name = name; this.passwordHash = passwordHash; } } 💡 private vs private : TypeScript's private is checked …

  • Graphs: BFS & DFS

    … JavaScript → TypeScript → React → Next.js. js function topoSort(graph) { // graph: node → nodes that depend on it const visited …

  • OOP Mistakes and Interview Questions

    … In TypeScript it can be private , which stops outside code from calling new . That's used in the …

  • SOLID at a Glance

    … has a send() method, it's a sender" . TypeScript adds real interfaces. - Functions are first-class, so you …

  • O — Open/Closed Principle

    … new behaviour is plugged in, the core stays untouched](/img/solid/ocp-plugins.svg) With classes and TypeScript …

  • DRY: Don't Repeat Yourself

    … validation] S -- B[Backend request validation] S -- T[TypeScript types] ts // schemas/user.ts — used by the React …

  • Python and Math Foundations with Runnable Examples

    … A web developer can keep a TypeScript frontend while using Python for model experiments. Features are measurable inputs …

  • Inheritance

    … 2 people" 💡 Add "noImplicitOverride": true to tsconfig.json . TypeScript will then require the override keyword, and catch you …

  • Backend Languages: Node.js, Go, Python & Rust

    … NestJS (structured, TypeScript-first) NestJS adds modules, dependency injection and decorators on top of Express/Fastify, similar to …

  • Microkernel (Plugin) Architecture

    … Rollup Module graph + build pipeline Loaders and plugins (TypeScript, CSS, images) ESLint / Babel / PostCSS Parser + traversal engine Rules …

  • Onion Architecture & Clean vs Hexagonal vs Onion

    … In TypeScript you can get the same with separate packages, or with lint rules like eslint-plugin-boundaries …

  • NestJS Core Concepts

    How NestJS organises a TypeScript backend: modules, controllers, providers and dependency injection, then the request lifecycle of middleware …

  • Frontend Testing Strategy

    … Tools Speed Confidence --- --- --- --- --- Static Types and lint errors TypeScript, ESLint ⚡⚡⚡ Catches typos and type bugs Unit One function …

  • Structural Patterns: How to Connect Objects

    … Express middleware, React Higher-Order Components ( withRouter(Component) ), TypeScript/NestJS @decorators . --- 3. Facade 🏨 Analogy: A hotel concierge. You …

  • Hexagonal Architecture (Ports & Adapters)

    … Driving vs driven sides, a complete TypeScript example, testing with fake adapters, and how to structure the folders …

  • Domain-Driven Design: Tactical Patterns

    … application services, domain events and factories, all in TypeScript. The big idea Strategic DDD draws the boundaries. Tactical …

  • Clean Architecture in Depth

    … structure, testing, and common mistakes, with a full TypeScript example. The big idea A ship's engine room …

  • Kafka for Backend Services

    … Validate at the edges in TypeScript too, so a bad event becomes a PermanentError instead of a crash …