Ask HN: Inherited the worst code and tech team I have ever seen. How to fix it?
&gt; this code generates more than 20 million dollars a year of revenue<p>From a business perspective, nothing is broken. In fact, they laid a golden goose.<p>&gt; team is 3 people, quite junior. One backend, one front, one iOS&#x2F;android. Resistance to change is huge.<p>My mistake, they didn&#x27;t lay a golden goose--they built a money printer. The ROI here is insane.<p>&gt; productivity is abysmal which is understandable. The mess is just too huge to be able to build anything.<p>But you just told me they built a $20M revenue product with 3 bozos. That sounds <i>unbelievably</i> productive.<p>&gt; This business unit has a pretty aggressive roadmap as management and HQ has no real understanding of these blockers<p>You should consider quitting your job.<p>As far as the business is concerned, there are no problems... because well... they have a money printer, and your team seems not to care enough to advocate for change. Business people don&#x27;t give a damn about code quality. They give a damn about value. If 2003 style PHP code does that, so be it. Forget a rewrite, why waste time and effort doing simple refactoring? To them, even that has <i>negative</i> financial value.<p>From their perspective, you&#x27;re not being paid to make code easy to work with, you&#x27;re being paid to ship product in a rats nest. Maybe you could make a business case for why its valuable to use source control, dependency management, a framework, routing outside of nginx, and so on... but it doesn&#x27;t sound like any of that mattered on the road to $20M a year, so it will be very difficult to convince them otherwise especially if your teammates resist.<p>This, again, is why you should consider leaving.<p>Some developers don&#x27;t mind spaghetti, cowboy coding. You do. Don&#x27;t subject yourself to a work environment and work style that&#x27;s incompatible with you, especially when your teammates don&#x27;t care either. I guarantee you will hate your job.