5 ms·
Require? No. Could use one? Yes. Every project could use refactoring, at all stages.
by roflyear 4y ago
Require? No. Could use one? Yes. Every project could use refactoring, at all stages.
- simonblack 4y ago“Premature optimization is the root of all evil” https://effectiviology.com/premature-optimization/ https://effectiviology.com/premature-optimization/ IOW, don't waste time in refactoring if it is not imperative for some particular reason.
- roflyear 4y ago100% agreed.
- cratermoon 4y agoThis is greatly mistaken. Continuous refactoring is imperative. Not doing it is like owning a house and never doing basic maintenance. Refactoring is orthogonal to optimization.
- roflyear 4y agoAs a general rule, and operus memorandi, I agree 100%. But like any rule, if we're talking specifics, there are exceptions. Scripts you use occasionally do not need developer time committed to iterating on. They can technically be improved, and refactoring them would likely lead to benefits, but they don't require it. There is nuance.