Skip to main content
CodeOath

Design: low-level, high-level and patterns · Chapter 5

SOLID, part one: responsibility, extension and substitution

Learn the first three SOLID principles, single responsibility, open for extension and closed for modification, and substitution, and use them in a code review.

In this chapter

  1. From system design to code design
  2. Single responsibility
  3. Open for extension, closed for modification
  4. Substitution
  5. The three working together
  6. Using the three in a code review

Locked: needs a plan

You can read chapter 1 free. Chapter 5 is the next one.

What you can do now, free: re-read chapter 1 and try its problems.

What a plan gives you: all chapters of the track you pick and their checks. Professional, one role is ₹329 a month or ₹2,299 a year. It renews until you cancel, and you can cancel any time. Paid plans open at launch.

Why is this locked?

Chapter 1 of every track is free, so you can see how the track reads. The rest of a track and its checks come with a plan, or open as you pass each chapter's check.

The price is for one period, a month or a year. A plan renews until you cancel.

Back to the track