DevPrep

All topics › Software architecture

SOLID

Middle PRO

The point

SOLID is five design principles formulated by Robert Martin (the acronym was coined by Michael Feathers). The goal is a single one: code that is easy to change and test because changes stay local and dependencies point at abstractions.

The rest of this answer, with code and interview follow-ups, is in the DevPrep app.

Read the full answer in DevPrep

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store