My top recomentations for new programmers
February 7th, 2010
Unsorted list:
- If you use a versioning control system, spend some time learning its basic usage (checkout, checkin, update, diff, merge, …). If you don’t use it, go quickly to get one. Im currently using svn and git.
- Don’t be scared about refactoring your code.
- Write your own documentation. Document your work for your personal profit. While you are documenting and organizing you are thinking in your job by looking it from a different point of view. Think in documentation like in a software-piece, it must be useful and reusable.
- Constantly, try to improve your knowledge about every day tools usage by knowing its internals (keyboard shorcuts or processes) or just learning from your colleages (or Internet users) usage.
- Write automated tests and execute it. You can use continuous integration for doing the job. I like the Hudson CI server.
- Don’t be IDE-dependent for your compilation, use scripts or tools specifically designed for this task. Actually Maven will be my first choice because Java is my main plattform.
- Get feedback about your code. Show them into colleagues or use communities like StackOverflow.
- Learn what KISS and Convention over configuration means. Be aware about overengineering.
- Don’t try to write your own framework or libraries for later use. Learn writing it, if you can but use well-known community libraries or frameworks. I personally work mainly with Spring Framework and Apache commons.
- Backup your data. Use your own/preferred method. I personally like dropbox.
- Most important. Don’t try to acomplish all of this at same time. Just be patient and
Please, feedback
Best-Practices, Code, HowTo, Java, Tools