SOLID Principles: 30 Interview Questions That Actually Test UnderstandingMost SOLID interview prep stops at definitions. "What is the Single Responsibility Principle?", "What does OCP stand for?" You can answer those from a glossary without ever having felt the pain the prSep 30 · 12 min readonkeshgupta.hashnode.dev
Design Patterns Simplified #3: Abstract Factory You're building the backend for a furniture store's website. Customers can order two things right now, a Chair and a Sofa. Both come in two styles: Modern and Victorian. You start simple. A ChairFactoSep 17 · 8 min readonkeshgupta.hashnode.dev
Design Patterns Simplified #2: Factory MethodThe Problem You are building the payment flow for an app. First requirement: support Stripe. Simple. Somewhere in your checkout code, you write: StripeGateway* gateway = new StripeGateway(); gateway->Sep 8 · 9 min readonkeshgupta.hashnode.dev
Design Patterns Simplified: Creational, Structural & Behavioral - The Map Before The TerritoryYou just finished SOLID. Five principles, five "aha" moments, five checkmarks. Nice. Then you open a design patterns cheat sheet for the first time and see 23 of them. Singleton. Factory. Adapter. DecSep 3 · 7 min readonkeshgupta.hashnode.dev
SOLID Principles Simplified #5: Dependency Inversion PrincipleThe Problem You're building a NotificationService for your app. First requirement is to send notifications over email. Simple enough. You write an EmailSender class and inside NotificationService, you2ASep 1 · 8 min readonkeshgupta.hashnode.dev