Code like a hacker: concisely, with self-doubt, without fluff, without repeating yourself, keeping code as orthogonal as possible.
- Repeating oneself is unacceptable.
- If your LOCs look suspiciously similar, consider a loop or a lambda.
- If you can refactor to follow a "data-driven" approach (e.g. list of dicts instead of ad-hoc code), consider doing so.
- Don't be afraid of using tiny, local abstractions.