Hey guys! I am a selftaught developer and there is a question that bugs me for a while.
Imagine one of my web applications gets traction and there is a company that wants to buy my web app. How important is the quality of the written code in the process of getting acquired? And: How does the process of handing over the "assets" usually look like?
I am definitely not a bad programmer, however, since I do not have a CS background, my code sometimes tends to be quite spaghetti-ish, variables have not the most adequate names and my folder structure isn't the most logic in the world. It is again not really bad but I could see someone who wants to take over my app to struggle a bit in the beginning. Now I am very concerned that even though my idea and product is great (it works) it will not get acquired due to the mentioned reasons...
Does someone of you know how this is usually handled?
Cross that bridge if/when you get there...
I've been in a company that acquired a terrible spaghetti code base for millions. They didnt want the code, they wanted the data and user base. Big companies will do their due diligence before acquiring but as long as buying doesn't put their company in a compromising position (security, leaks etc) the code probably wont matter. Just focus on building
Seems like something you don't really need to optimize for. It's hard enough just to make a business work. Even less chance that it will get acquired.
But I will say that it would probably benefit you if you spent time on learning how to write better code. You will like to code better when you have to change old code and it will make you faster in the long run.
Code quality is generally of no consequence during acquisition.
That explains multiple war stories I heard back when I was at Groupon.
I also think it won't matter too much. However, to name variables and split the code into functions, you don't need a CS degree. If I were you, I would focus on improving code quality whenever you add something new to the codebase. Then at least new parts of the code are clean.
Railax ,
" my code sometimes tends to be quite spaghetti-ish, variables have not the most adequate names and my folder structure isn't the most logic in the world. "
The code is the only real asset you have for an app/website .
If you were buying a car..and looked under the hood..and saw spaghetti-ish wiring on the engine...would that inspire confidence in your purchase ?
Fix the bridge before you have to travel over it ...in the car .
Thanks! I think the best way is what @SEOguy said. If it happens I will just dedicated time to make the app as semantic as possible!
Thank you so much guys!