Comment by KevinMS
4 days ago
> So what's the value here? Single responsibility? That kind of thing is now so known that it doesn't really need talking about
Except I see people getting it wrong constantly, even in the comments here. Its not about keeping code together that's related in functionality, this about keeping code separate by stake holder. For example, if you have two bosses that keep asking for changes related to their departments, you keep their relevant code separate, so when you have to keep updating it for one boss, you don't break the code related to the other boss, and vice versa.
Does it work? I don't know, never been in this situation.
https://en.wikipedia.org/wiki/Single-responsibility_principl...
No comments yet
Contribute on Hacker News ↗