codefarm
HomeRoadmapsGuidesQuizzesMentorshipWhiteboardEbooksCodeSmash
Learn
RoadmapsQuizzesBlogsVideosGuides
Simulators
Why API GatewayWhy Load BalancerWhy Circuit BreakerKafka Message FlowKafka Consumer LagKafka RebalanceRate LimitersUptime SLALatency SimulatorCachingConsistent Hashing
Tools
UUID GeneratorDate & Time ToolsJWT DecoderText FormatterMind MapFun PuzzlesKids Learning
Profile
Back to Low-Level Design
🏛️
Phase 1

OOP Foundations & SOLID

Build unshakeable object-oriented fundamentals. Understand not just how to write classes, but how to design systems that are easy to change, test, and extend.

1

OOP Pillars Deep Dive: Encapsulation, Inheritance, Polymorphism, and Abstraction

A staff-engineer guide to the four pillars of object-oriented design — beyond textbook definitions, into the trade-offs that decide whether a class hierarchy survives contact with real requirements.

lldoopencapsulation
2

SOLID Principles: Violations and Fixes

Every SOLID principle explained through a real violation and its refactor — SRP, OCP, LSP, ISP, and DIP — plus the trade-offs of over-applying each one.

lldsolidsrp
3

Coupling & Cohesion: Measuring What Makes a Design Good

The two qualities that decide whether a codebase stays easy to change: low coupling and high cohesion, with concrete metrics, code examples, and refactoring techniques.

lldcouplingcohesion
4

Design by Contract & Invariants

Preconditions, postconditions, and class invariants as a design tool — assertions vs exceptions, defensive programming at boundaries, and the Null Object pattern vs Optional.

llddesign-by-contractinvariants
codefarm

Learn backend engineering with clear roadmaps, practical tools, and interactive quizzes. From zero to production-ready.

Learn

  • Roadmaps
  • Guides
  • Blogs
  • Videos
  • Ebooks

Labs

  • Simulators
  • Quizzes
  • Whiteboard
  • JWT Decoder
  • UUID Generator
  • Toolbox

Simulators

  • Uptime SLA
  • Rate Limiters
  • Kafka Message Flow
  • Kafka Consumer Lag
  • Kafka Rebalance

Community

  • Cohorts
  • Testimonials
  • About
  • Contact

Legal

  • Terms & Conditions
  • Privacy Policy
  • Refund & Cancellation