Follow coding standards
Use automated testing
Write modular code
Use version control
Refactor code
Use code reviews
Use static code analyzer