Crackpad
← All topics

SOLID principles

The five object-oriented design principles, each answered in plain English, anchored with an everyday analogy, shown as before/after code, and closed with the framing to say out loud in the room. Click a question to reveal the answer.

OVERVIEW

What SOLID is

CORE
CORE
TRICKY
HOT
THE FIVE PRINCIPLES

S, Single Responsibility

CORE
HOT
CORE
TRICKY
THE FIVE PRINCIPLES

O, Open/Closed

CORE
HOT
CORE
TRICKY
THE FIVE PRINCIPLES

L, Liskov Substitution

CORE
HOT
TRICKY
CORE
THE FIVE PRINCIPLES

I, Interface Segregation

CORE
CORE
TRICKY
THE FIVE PRINCIPLES

D, Dependency Inversion

CORE
HOT
TRICKY
CORE
APPLYING SOLID

Applying SOLID

HOT
TRICKY
CORE
HOT