I’ve finished reading book The Pragmatic Programmer and it has few interesting advices how to write better code and be better programmer. Here are some points that have great value to me (I’ve read it in czech so excuse if some term are badly double-translated :)):
- Take responsibility over your code, your work.
- Read technical book every month.
- Involve in community.
- No redundancy in code nor in documentation.
- Get the most orthogonality you can - every module should be independent of other modules.
- Reversibility - you should be able to take back every decision.
- Plain text is better than binary files.
- Don’t be scared of refactoring.
- Don’t let broken windows unfixed. Broken windows are those part of code/architecture you don’t like. After some time the rest of your code spoils too.
- Automate everything you can.
It’s just list of thing I would like to remember and keep too. Anyway I recommend this book, it’s interesting and fun to read.