DEV Community

loading...

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

Collapse
phantas0s profile image
Matthieu Cneude

Totally agree ;)

As you said, the knowledge you have of a problem will grow overtime. I think that's a major argument to come back to your past misconceptions and try to improve them. Delaying important decisions as much as you can is, I think, a good strategy too.

Thread Thread
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.