DEV Community

Discussion on: Learn the SOLID principles for Object Oriented Programming

Collapse
 
edwinoaragon profile image
Edwin Aragon

Thank you for the response Sam. I haven't thought about the legacy when working with libraries, that's a clear example for the Single Responsibility and the Interface Segregation principles working together to get a better code since if applied correctly my hypothetically case wouldn't exist at all!