3 ms·
Refactoring production code can be very difficult. You often end up constrained by the existing code's public APIs, cross-API data structures, remote systems ru
by jniedrauer 7y ago
Refactoring production code can be very difficult. You often end up constrained by the existing code's public APIs, cross-API data structures, remote systems running the old code, etc. It's worth putting at least a little bit of thought into maintainability, even in the prototype stage.
- daxfohl 7y agoEspecially if it's a project with multiple people working on it. Refactoring will cause major merge problems for everyone doing anything else on those files. And if your team does best practices with code reviews and testing, then refactoring a chunk of code becomes a big project.