2 comments

1

Good stuff, short and sweet, just what I like.

1

1. Don't repeat yourself

-1. Don't optimize prematurely. Abstraction to save five single lines of repeated code in two files might seem like a good idea, but it might also hide important information and made the code harder to understand.

7. Follow the boy scout rule

-7. No good deed goes unpunished. If you disturb something that doesn't belong to you, be prepared to deal with the consequences tomorrow, or next week, or two years from now.