Code reusability

Topics: Software development, Maintainability

Code reusability is the quality of code that lets it be used in multiple contexts rather than reimplemented.

“Well-designed applications are constructed of reusable code. Small, trustworthy self-contained objects with minimal context, clear interfaces, and injected dependencies are inherently reusable.”
–Sandi Metz

In this statement, Sandi Metz refers to the SOLID Principles, specifically Single Responsibility Principle, Interface Segregation Principle and Dependency Inversion Principle.