4 ms·
There is nothing wrong with doing something half-assed now and maybe paying for it later. Depending on what you're working on, there's a good chance if you bui
by toast0 5y ago
There is nothing wrong with doing something half-assed now and maybe paying for it later.
Depending on what you're working on, there's a good chance if you build things to be good enough to handle the next 6 months, when you look at it in 6-12 months, the situation is one of these:
a) you don't need this at all, and should throw it away
b) what you did meets your needs for the forseable future
c) what you did no longer meets your needs, because the requirements changed or because real use clarified the requirements
d) your solution worked, but usage skyrocketed and it didn't scale
With option A or B, doing it half ass saved you time. With option C, maybe full ass would have been better, but it depends. Sometimes you guess about future needs and get lucky; sometimes you need to throw it out and rebuild, knowing the current one is half-ass makes it easier to throw away.
If you run into D, great, you've got users! Often, you need to use a more complex system to handle scaling, so you don't want to do that too early, but it depends on where you are in terms of use. Making things scale only when they need to adds stress, but also clarity.
If you find yourself outgrowing your half-ass solutions after 5 years, maybe consider quarter-ass instead to save time. If you find yourself revisiting things once a month, try three-quarter-ass. It's a balance. Another important thing is to focus more on the interfaces between components, because those are hard to change. And reduce dependencies in general and between components as much as possible; changes that require multi-stage deployments are harder.