News for hackers. Stuff that matters.
Re:Repeat yourself, do more than one thing, and rewrite ever... by pydry on Tuesday March 14, 2023 @04:12PM (#35157689)
I usually phrase this as balancing against loose coupling.

I've had bad experiences with the single responsibility principle. It sounds kind of right, but in practice "responsibility" is too vague and often surprisingly hard to agree on what is e.g. one responsibility vs. three responsibilities.

By contrast, loose coupling is more objective and can (at least in theory) be measured.

There are no comments on this comment yet.