Search
Lessons (9)
- Recursion & Backtracking
… 5 × factorial(4)? F4- F3: 4 × factorial(3)? F3- F2: 3 × factorial(2)? F2- F1: 2 × factorial(1 …
- Creational Patterns: How to Make Objects
Factory Method, Abstract Factory, Builder, Prototype and Singleton, each with a real-life analogy, a picture and a …
- What Are Design Patterns?
… Patterns --- --- --- 🏭 Creational How do I create objects? Factory Method, Abstract Factory, Builder, Prototype, Singleton 🧱 Structural How do …
- Which Pattern Do I Need?
… In State the object changes itself . Factory vs Builder Factory creates in one call and decides the type …
- Domain-Driven Design: Tactical Patterns
… Entities, value objects, aggregates and their four rules, repositories, domain services, application services, domain events and factories, all …
- JavaScript Essentials: Event Loop, Closures & this
… Function factories const multiplier = (factor) = (n) = n factor; const double = multiplier(2); double(21); // 42 // 3. Event handlers …
- Big-O Notation Made Simple
… 10³⁰⁰ 💀 Naive recursive Fibonacci, all subsets O(n!) Factorial 💀💀 All permutations (brute-force travelling salesman) ![Big-O ladder …
- Frontend Testing Strategy
… tests with Playwright. The big idea A car factory tests at several levels: each bolt (unit), each engine …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… Visitor 🧾 Analogy: A tax inspector visits a restaurant, a factory and a shop. Each business lets the …