Writing Methods
Know
A method takes values, does one job, and usually hands something back. Deciding what it takes and returns is the design; the body is the easy part.
Apply
Write the name, the values it takes, and what it returns before the body.
Watch out
Writing one long method that does several jobs, which is hard to test and harder to fix.
Study move
Split a working program into two methods without changing what it does.
