3 ms·
On the other hand, trying to optimise too early leads is wasteful and leads to headache down the line. Writing "well-structured, decoupled, modular code" is a
by mytailorisrich 6y ago
On the other hand, trying to optimise too early leads is wasteful and leads to headache down the line.
Writing "well-structured, decoupled, modular code" is a best design practice for a good reason. It what leads to best results overall, where "best results" means code that is easier overall to test, maintain, modify/expand, and optimise as needed.
Regarding optimisation, something related to keep in mind is that optimisation at system level (which is often the desired end result) is not the sum of independent local optimisations.