O'Reilly logo
  • joseph isaac thinks this is interesting:

Methods, like classes, should have a single responsibility. All of the same reasons apply; having just one responsibility makes them easy to change and easy to reuse. All the same design techniques work; ask them questions about what they do and try to describe their responsibilities in a single sentence.


Cover of Practical Object-Oriented Design in Ruby: An Agile Primer


Write methods to have a single responsibility.