3 ms·
Refactoring is a result of having time to optimize your product because its undergoing pressure you didn't (couldn't) predict. Its reimplementing something you
by JoeAltmaier 13y ago
Refactoring is a result of having time to optimize your product because its undergoing pressure you didn't (couldn't) predict. Its reimplementing something you did cheaply at first because performance wasn't as important as time-to-market.
Its a fantasy that code can somehow be built to last forever.
- weavejester 13y agoSure, there may be times when you may have very good reasons for screwing up the architecture of your application, and there will be times when you need to restructure existing code. But this should be the exception, not the norm. I'd argue that OOP, particularly OOP involving mutable state, exacerbates the problem immensely. It's extremely difficult to build robust systems in languages that have few constraints and little emphasis on isolating functionality.