Code "Monkey" Standards
3 Laws of
- An object in initialization tends to remain null until acted upon by the programmer.
- An object in memory tends to remain in memory until all references have been removed.
- For every intent there is an equal and sometimes opposite line of code that you wrote.
Thou shalt not use == to compare objects
Thou shalt not use magic numbers
Thou shalt not have empty catch brackets
Thou shalt not forget sanity checks (null/invalid data checks)
Thou shalt maintain a proper supply of caffeine