Programming is all about breaking down a problem into small enough parts that it can be understood, and each of those tiny parts represents a method. How the methods are written and structured can mean the difference between an elegant solution that supports change and a brute-force solution that resists change.
In this chapter:
[method.encapsulate] Encapsulate common code in a Method
[method.how] How to structure a method
[method.name] Method names
[method.primary] Method name implies primary function
[method.structure] Method structure
[method.lifecycle] Life-cycle of a method.
[method.return] Returning a value from a method
[method.return.type] What return types mean
[method.object] No Object in method signatures
[method.visible] Control the visibility of a method.
[method.wrapper] Control wrapper methods
[method.modify] Parameters are not to be modified
[method.parameter] Keep method parameters consistent
[method.split] Split up magic return code methods
[method.order] Order methods depending on use
[method.encapsulate] Encapsulate common code in a Method
[method.how] How to structure a method
[method.name] Method names
[method.primary] Method name implies primary function
[method.structure] Method structure
[method.lifecycle] Life-cycle of a method.
[method.return] Returning a value from a method
[method.return.type] What return types mean
[method.object] No Object in method signatures
[method.visible] Control the visibility of a method.
[method.wrapper] Control wrapper methods
[method.modify] Parameters are not to be modified
[method.parameter] Keep method parameters consistent
[method.split] Split up magic return code methods
[method.order] Order methods depending on use