Writing a method is as often a job for a programmer as posing for a photograph by an actress. The following 10 points can be used as guidelines while writing one.
Single well-defined purpose – A method must have a single well-defined purpose to serve. This functional cohesion is at the very base of constructing a [...]

