Skip to main content
0

Write it once

Computing a bonus, formatting a username, checking a level: you need these everywhere. A method gives a piece of code a name, so you write it once and call it whenever you need it.