10 Best Practices for Refactoring Code