Foundational 3
- Interface Segregation Principle (ISP)The Interface Segregation Principle says clients should never be forced to depend on methods they don't use. Splitting a fat contract into focused, role-based interfaces keeps implementations honest, shrinks the surface that mocks and…, not read
- Open Closed Principle (OCP)The Open/Closed Principle says modules should be open for extension but closed for modification: new behaviour should arrive as new types (strategies, plugins, decorators) rather than edits to battle-tested code. Done well it eliminates…, not read
- Single Responsibility Principle (SRP)The Single Responsibility Principle says a class should have exactly one reason to change. Keeping responsibilities like validation, execution, and logging in separate classes shrinks the blast radius of every edit, makes tests…, not read