3 ms·
1. Be a boy scout - leave any code better than you found it. 2. Write functions, components, patterns (etc) that make other people's lives easier. 3. Earn tru
by pcmaffey 9y ago
1. Be a boy scout - leave any code better than you found it.
2. Write functions, components, patterns (etc) that make other people's lives easier.
3. Earn trust over time in small ways like this, and you will be entrusted with bigger architectural refactoring decisions.
The only reason a refactor will ever get approved is if it can demonstrably lead to increased efficiencies in the near future. This is often true (when done well), but you have to be able to demonstrate why, beforehand - which is the hard part.