2 ms·
100% agree. Clean code (OOP, DRY, etc) is optimized for maintainability and extensibility, not necessarily performance. In fact, I think it’s pretty well unde
by berniedurfee 4y ago
100% agree.
Clean code (OOP, DRY, etc) is optimized for maintainability and extensibility, not necessarily performance.
In fact, I think it’s pretty well understood that clean code is a tradeoff wrt performance, at least that’s the way I’ve always understood it.
Clean code works well for something like a web app that’ll need to be maintained by scores of different engineers over many years or decades.
At least that’s the theory. In practice, at least some level of abstraction makes it a bit easier to rip and replace parts of the app without a total rewrite.