DEV Community

loading...

SRP violation in MVC

Rahimie Ahmad
I am.. not sure who i am.
・1 min read

How does it not concern anyone on how often the Controller in MV(C) violates the SRP in (S)OLID principle. They're often written as a bag of actions/handlers but the more people tried to make it seems like a real functioning object, (with dependency injection etc) the less sense it makes about this wholly accepted concept.

Discussion (0)