Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

New answers tagged

7 votes

Refactoring Processor classes

If you are sure that you are violating the SRP, what actual problems does that cause you? Years ago someone analysed common problems and found root causes. With the SRP, the problem is not that a ...
gnasher729's user avatar
  • 45.6k
3 votes

How to do "Separation of concerns"

How to identify which seperation suits my development. Be suspicious of 1 to 1 relationships across separations. Yes even that FooTest class that tests the Foo class. Separations are more useful when ...
candied_orange's user avatar
8 votes

How to do "Separation of concerns"

Separating on the base of language is not separation of concerns. It's only the consequence of SoC: SoC is the root cause that made you chose two different languages instead of one. Separation of ...
Christophe's user avatar
  • 77.9k
3 votes

How to do "Separation of concerns"

Most design practices have one goal in mind - maintenance. When a component is changed it may become buggy. To minimize bugs we want each change to affect less components (we assume that a in a well ...
Basilevs's user avatar
  • 1,984
-1 votes

How to do "Separation of concerns"

Separation of Concerns, in SOLID is talking about classes. ie. a class should have a defined purpose and stick to it. Like, Auth, SavingToDatabase etc However, you also have "Layers" of ...
Ewan's user avatar
  • 76.3k

Top 50 recent answers are included