DEV Community

Discussion on: The myth of "never going back to fix it later"

 
codemouse92 profile image
Jason C. McDonald

While it's true that "premature optimization is the root of all evil," there's certainly a lot to be said for leaving room for optimization.

In other words, while delaying important decisions, one should always be certain they aren't obstructing said future decision! It's a tricky balance, of course, but what isn't.

Thread Thread
 
phantas0s profile image
Matthieu Cneude

"premature optimization is the root of all evil" is more about performance.

Thread Thread
 
codemouse92 profile image
Jason C. McDonald

I know, but the idea ports to other forms of optimization, such as scalability to a load many times greater than a realistic scenario, adding support for extensions to a single-purpose tool, and so forth. I see the Java habit of "always use double" even when the data will never need to store to more than single decimal place as an example of this, too.