3 ms·
Ask HN: Have you used all of the SOLID design principles in your day to day job?
I've just been going over the SOLID design principles again and it occurred to me that I've maybe only ever used 3/5 of the principles.
Those being Single Responsibility, Interface segregation and dependency injection.
I can't think of a time were I've broken the Liskov substitution principle or Open / Close principle, or had to worry about them.
Interested to hear from others and their experiences using SOLID
- x0hm 8y agoGenerally, I've found that if you follow SRP, the rest of them happen organically.