Design Principles
SOLID, composition over inheritance, and the handful of patterns interviewers actually ask about.
0 of 12 answered
Start here
An interface that asks for too much
Foundation
- Not triedAn interface that asks for too muchFoundation
- Not triedOne reason to changeFoundation
- Not triedOpen to extension, closed to modificationFoundation
- Not triedImplementing methods you do not wantCore
- Not triedA subclass that breaks its parent’s promisesChallenge
- Not triedHow many responsibilities is one responsibilityChallenge
- Not triedThe interface with one implementationChallenge
- Not triedThe refactoringpart of Refactoring a notification serviceChallenge
- Not triedWhat it buys in testingpart of Refactoring a notification serviceChallenge
- Not triedWhich direction the dependency pointsChallenge
- Not triedWhich principle is violated?part of Refactoring a notification serviceChallenge
- Not triedWhy Square should not extend RectangleChallenge