Search
Lessons (16)
- 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 …
- Multi-Account Strategy, Governance and Security Operations
… OU structure, log archive, baseline guardrails (preventive SCPs and detective Config rules), and Account Factory to vend new …
- OOP Mistakes and Interview Questions
… That's used in the Singleton pattern and for static factory methods like Temperature.fromFahrenheit(212) . </details Key …
- Classes and Objects
… Behavior that uses the object's data Constants, factory helpers, counters Objects are references A variable holds a …
- Big-O Notation Made Simple
… 10³⁰⁰ 💀 Naive recursive Fibonacci, all subsets O(n!) Factorial 💀💀 All permutations (brute-force travelling salesman) ![Big-O ladder …
- NestJS Core Concepts
… config.get("REDIS URL") }).connect(), inject: [ConfigService], // async factory: Nest waits before starting }, { provide: "LEGACY ORDERS", useExisting: OrdersService …
- 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 …
- Python Fundamentals
… list[str] = field(default factory=list) safe mutable default @property def price with tax(self) - float: return round …
- CI/CD Fundamentals and Pipeline Design
… Think of a pipeline as a factory assembly line for code. A change goes in at one end …
- Go Concurrency: Goroutines, Channels and Context
… Like a car factory: frame → engine → paint → inspection. go // Stage 1: produce numbers func generate(nums ...int) <-chan …