Coding Practices
ALWAYS
- Comment methods
- Comment equations
- Abstract constants
- Test components
NEVER
- Copy and paste more than once
- Tune without profiling
- Debug by printout as a first resort
FEAR
- Deep braces
- Long methods
- Large collections of primitive parameters
- Pass-by-handy-member
- Copied state data
- Things that know everything
- Fear itself
DESIGN
- Object relationships
- Data models
- Anything remotely having anything to do with threads
|
|
|