Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • 27
    I'd like to add that a similar headache arises when people try to adhere to the too oft repeated mantra of "methods should only do one thing" and end up with tons of one line methods just because it can technically be made into a method. Commented Jul 9, 2019 at 15:01
  • 8
    Re "Always be pragmatic and remember everything is a compromise": Uncle Bob's disciples are not known for this (no matter the original intent). Commented Jul 9, 2019 at 17:56
  • 13
    To sum the first part up, you usually have a coffee intern, not a full suite of plug-in-percolator, flip-switch, check-if-sugar-needs-refilling, open-fridge, get-out-milk, get-out-spoons, get-down-cups, pour-coffee, add-sugar, add-milk, stir-cup, and deliver-cup interns. ;P Commented Jul 9, 2019 at 22:19
  • 12
    The root cause of the OP's problem seem to be misunderstanding the difference between functions which should perform a single task, and a classes which should have a single responsibility. Commented Jul 9, 2019 at 22:48
  • 7
    "Rules are for the guidance of wise men and the obedience of fools." - Douglas Bader Commented Jul 10, 2019 at 10:15