Re:Ask HN: How many startups fail because of code base issues?
by TheM00se on Thursday May 07, 2015 @09:47PM
(#9509571)
Your reply really helped. I asked because Im in a position where the company is 4 years old, they got initial traction. At this point they want to pivot though, but the current code base does not allow for that because it cannot support the new features.
However, if you don't have traction, having poor-quality code can make it impossible to add the necessary features/bugfixes that get you there, and can make it impossible to attract and retain the engineers that can do that. I worked at a startup once that died from this; we had a product that our one salesperson had no trouble selling, a prototype that worked great at demos, but we couldn't make it robust enough to launch a v1.0 that we could in good conscience charge for before running out of funding.
However, if you focus on writing good-quality code, you are not focusing on the product, which also will prevent you from adding the necessary features, polish, whatever that will get you to traction. I founded a startup once that quietly died from this; it had a pretty innovative architecture and a relatively clean codebase, but wasn't really useful for users because I spent too much time refactoring and not enough building & polishing.
Basically, you have to realize that you're gambling. Your goal is to put a usable product on the market. Every bit of code you write gets you closer to this, but also increases the difficulty of writing further code. Every bit of time spent refactoring makes it easier to write further code, but is time not spent improving your product. If you spend too much time writing features and never clean up code, it becomes impossible to deliver further features. If you spend too much time refactoring and never deliver new features, you lose out on the market to other companies that were willing to play a bit more fast and loose. Wisdom is figuring out a balance between them.