AKAlisha Kausheeninalishakausheen.hashnode.dev·Dec 19, 2025 · 3 min readFactory Method PatternStop Using new Everywhere At some point, every codebase reaches this stage if (type.equals("CAR")) { return new Car(); } else if (type.equals("BIKE")) { return new Bike(); } else if (type.equals("TRUCK")) { return new Truck(); } It works...00
AKAlisha Kausheeninalishakausheen.hashnode.dev·Dec 15, 2025 · 3 min readSOLID Principles ExplainedThe Rules That Make Design Patterns Actually Work If Object-Oriented Design is the foundation,then SOLID principles are the load-bearing pillars. Design patterns assume your code follows SOLID.Without SOLID, patterns feel forced, confusing, and over-...00
AKAlisha Kausheeninalishakausheen.hashnode.dev·Dec 14, 2025 · 3 min readObject-Oriented Design Basics We Must KnowDesign patterns don’t fix bad object-oriented design.They only work because of it. What Is Object-Oriented Design (OOD)? Object-Oriented Design is about: Modeling real-world concepts as objects Assigning clear responsibilities Defining how objects...00
AKAlisha Kausheeninalishakausheen.hashnode.dev·Dec 13, 2025 · 2 min readWhat Are Design Patterns?Think of software like a building: Code = bricks Classes = rooms Design patterns = blueprints A design pattern is a reusable blueprint for solving a design-level problem. What design patterns are: Proven solutions High-level structures Langua...00
AKAlisha Kausheeninalishakausheen.hashnode.dev·Dec 8, 2025 · 3 min readWhen Traffic Goes Crazy: Auto ScaleScalability sounds like a big, serious engineering word.But honestly… it’s just math we all learned in school, mixed with some tech magic. Think of your system like a student during exams: More chapters = more load More load = need better preparati...00