The Code Hugger Mantra
Inspired by environmentalists, aka the tree huggers!
The Code Hugger Mantra
- Reduce: Write concise code. Less is more.
- Reuse: Reuse code. Don't copy-paste, don't reinvent. Do use third-party libraries.
- Refactor: Your code is a "living document", treat it as such. Neglect shows over time.
This mantra was inspired by the environmentalists (aka "Tree Huggers") movement's Waste Management Hierarchy: "Reduce, reuse, recycle." Remembering The Three R's is a simple way to reinforce strategic goals when you are taking tactical actions.