3 ms·
I really liked Dan's reasoning around SRP "SRP mandates that you separate the rendering and business logic of the component. As a developer, having these livi
by splittingTimes 5y ago
I really liked Dan's reasoning around SRP
"SRP mandates that you separate the rendering and business logic of the component. As a developer, having these living in different places leads to an administrative chore of chaining identical fields together. The greater risk is that this may be a premature optimisation preventing a more natural separation of concerns emerging as the codebase grows, and as components emerge that “do one thing well” and that are better suited to the domain model of the problem space."