A guide to SRP, Open/Closed, Dependency Injection, Interfaces, Unit Testing and Mocks

Опубликовано: 11 Май 2026
на канале: 26 Brains
222
2

This video is a guide for developers to help them understand what changes need to be made to code to make it testable and sustainable. It uses parts of the SOLID principles to refine an example class.

Topics covered:
Single Responsibility Principle (SRP)
Open/Closed principle
Dependency Injection
Interfaces
Unit Testing
Mocks

Hope you enjoy! All feedback is welcome and encouraged.

Thanks,
Damien

----------------------------
https://www.26brains.com
  / damien_hampton  

https://www.26brains.com/2017/01/a-gu...