Search
Lessons (40)
- What Is Clean Code?
Clean code is code that another person can read, understand and change safely. Here is why that matters …
- A WhatsApp OTP Is Only Single Use If You Make It So
Make a one-time code really work only once, even when two requests arrive in the same second …
- Comments & Formatting
Good code explains WHAT and HOW by itself; comments should explain WHY. Plus the formatting habits that make …
- Code Smells & Refactoring
A code smell is a hint that something is wrong. Learn the 10 most common smells and the …
- DevOps and the Path from Code to Server
… Code You write and commit code Git, GitHub 2. Build Install dependencies, compile, bundle npm ci , npm run …
- Interfaces vs Abstract Classes
An interface is a contract with no code; an abstract class is a half-built parent with shared …
- Releases, Observability and Production Safety
Ship changes to a few users first, watch real customer outcomes, keep old and new code compatible with …
- Design a URL Shortener
… The code column has a unique rule, so two links can never share a code. Rule 2: Redirect …
- YAGNI: You Aren't Gonna Need It
… When code is easy to change, you don't need to predict the future, because you can adapt …
- O — Open/Closed Principle
… Add new features by plugging in new code instead of editing code that already works. The big idea …
- Preparing for Technical Interview Rounds
Understand each round in a typical developer hiring process and how to prepare for screening, coding, system design …
- C4 Architecture Diagrams: Context, Container, Component and Code
… C4 code diagram The code diagram is the closest zoom level. It explains the implementation inside one component …
- OOP Mistakes and Interview Questions
… Writing good object-oriented code means also knowing the traps. This lesson covers the mistakes that show up …
- SOLID at a Glance
Five design principles that keep object-oriented and modular code easy to extend, test and change. One picture …
- What Is Object-Oriented Programming?
OOP organizes code around objects, small units that bundle data with the behavior that uses it. See how …
- Code Profiling
Find the code that is actually slow or retaining memory before you optimise. Learn a repeatable profiling workflow …
- Terraform: Start Here
Understand infrastructure as code, the plan/apply workflow, and the learning path from local experiments to team operations …
- Abstraction
… Learn how abstraction keeps code simple to use, and how interfaces and abstract classes express it. The big …
- Scalable Frontend Architecture
… Shared code must be genuinely reusable and domain-neutral. text app/orders/[id]/page.tsx route composition and …
- Domain-Driven Design: Strategic Design
… in conversations, documents, tests and the code itself . mermaid flowchart LR subgraph Without["❌ Translation everywhere"] E1["Expert: 'The …
- Polymorphism
… The calling code doesn't need to know which kind of object it has. ![The same area() call …
- L — Liskov Substitution Principle
If code works with a parent type, it must also work with any child type, with no surprises …
- Zero-Downtime Deploys & Rollbacks
… Code writes both columns Old code ignores the new column 2. Migrate Backfill full name from name in …
- Vertical Slice Architecture & the Modular Monolith
Organise code by feature instead of by technical layer, and split a monolith into well-bounded modules that …
- Choosing a Programming Language
… JavaScript"] S3[source] -- I3[interpreter] -- hot code -- J3[JIT compiler] -- CPU3[CPU] end - Ahead-of-time languages catch …
- JavaScript Language Fundamentals
… err }) . Quick check <details <summary What does <code typeof null</code return, and why?</summary "object" . It's …
- What Is Software Architecture?
… foundations and structure vs furniture and paint](/img/architecture/house-layers.svg) Architecture vs design vs code Level …
- Inheritance
Build a new class on top of an existing one to reuse its code. Learn extends, super, method …
- Which Pattern Do I Need?
… They cover most real-world code: 1. 🏭 Factory — creating the right object from config or input 2. 🔌 Adapter …
- KISS: Keep It Simple, Stupid
… Learn to spot over-engineering and choose boring, obvious code. The big idea A Rube Goldberg machine uses …
- Choosing an Architecture
… Request/response · Event-driven"] Q2["2️⃣ Code organisation<br/ How is code structured INSIDE each deployable?"] -- A2["Layered …
- Safe AWS Deployments with IaC and CI/CD
… Do not give untrusted pull-request code production credentials. A workflow that runs arbitrary code with a powerful …
- CloudWatch: Know What Your App Is Doing
… For structured JSON logs with discoverable fields: text fields @timestamp, request id, operation, status code, error code filter …
- Big Data: ETL, Warehouses and Streaming
… 1. Fix the transformation code. 2. Replay yesterday's raw partition through the fixed code into a new …
- Microkernel (Plugin) Architecture
… How VS Code, browsers, Webpack and ESLint are built, how to design a plug-in contract, and the …
- REST API Design
… resource naming, methods, status codes, pagination, versioning, errors and idempotency. The big idea A good API is like …
- Authentication, Authorization & API Security
… redirect back with ?code=xyz U- App: /callback?code=xyz App- G: exchange code (+ PKCE verifier) for tokens …
- CI/CD and Reviewed Production Changes
… Privileged planning should use a trusted workflow and reviewed code. Do not turn a pull-request title or …
- Rust: Ownership, Borrowing and Lifetimes
… proving references don't dangle A lifetime is the region of code where a reference is valid. The …
- What Is Artificial Intelligence? A Developer's Guide
… Validate outputs and enforce permissions in application code. 6. Monitor failures and provide a fallback. Try it yourself …