5 ms·
Which SOLID principles have you found issues with, either theoretically or in practice? They still seem like broadly sensible principles to me.
by AlexSW 4y ago
Which SOLID principles have you found issues with, either theoretically or in practice? They still seem like broadly sensible principles to me.
- DanielVZ 4y agoFor example the Open Closed principle is often times used to justify a plethora of inheritance chains rather than having a more generic class that can handle cases based on some parameter. Specially when all a subclass does is modify some class attribute or change some implementation by one line. Obviously some times it's good to apply the principle, but not EVERY time it fits.