Captain's log, stardate d68.y38/AB
Here's my interpretation, with my own comments, on the ten items listed on that article:
- Divide and conquer: the most fundamental principle, not only in programming, but to solving almost any problem.
- Make things embarrassingly obvious: I've tried to look clever a lot of times. And I can tell you, it's not clever.
- Resolve magic numbers and strings: use constants.
- Fight nesting: no if inside if inside if (and callback hell, of course).
- Configure hard: use an external config file.
- Frameworks are there to help: don't reinvent (unless for learning).
- Unless it is a prototype — write tests: no comment - speaks for itself.
- Use version control: why this is not point #0?