I don't want to believe this, but I've seen too much evidence over the years that suggest it is the truth:
The success of a software product is inversely proportional to the quality of its codebase.
Therefore, if you want to develop a successful software product, just do it. Don't worry about doing it right.