-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.
2 comments
1 u/Techttz 31 Jan 2016 23:56
Good stuff, short and sweet, just what I like.
1 u/Tecktonik 02 Feb 2016 18:54
-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. 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.