similar, but different

In the software design literature, cohesion is often referred to by a different name: single responsibility. As Sandi Metz explains it: When everything in a class is related to its central purpose, the class is said to be highly cohesive or to have a single responsibility. 1 To determine if a method belongs inside a class, Metz suggests posing it as a question. "Mr. Bicycle Gear, what is your…