Premature optimization is not the root of ALL evil, that's for sure. There are however drawbacks to it:
-
- you invest more time durring development
- - you invest more time testing it
- - you invest more time fixing bugs that otherwise wouldn't be there
- you invest more time during development
- you invest more time testing it
- you invest more time fixing bugs that otherwise wouldn't be there
Instead of premature optimization, one could do early visibility tests, to see if there's an actual need for better optimization.