Re:It's probably time to stop recommending Clean Code (2020)
by AlexSW on Saturday February 18, 2023 @12:41AM
(#34844257)
Which SOLID principles have you found issues with, either theoretically or in practice? They still seem like broadly sensible principles to me.
[ Parent
| on HN ]
Re:It's probably time to stop recommending Clean Code (2020)
by DanielVZ on Saturday February 18, 2023 @10:05AM
(#34847398)
For 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.