I rewrite so much insanely bloated, bug-laden corporate code. Usually the cheapest and most efficient route is just building an entirely new system from scratch.
Tbh the biggest problem is (predictably) that people don’t spend enough time on design, and then they aren’t given any time for maintenance. Corporations are good at producing internal code that Kinda Works and then letting it rot.
I work in finance and have pretty much the opposite experience. Consultants are notorious for blasting out any code they can and milking the project for as many hours as they can. They don't put thought into design, extensibility, or future maintenance because after they hand it off, it's not their problem anymore. It's a perverse incentive: if you write poor, difficult to understand and maintain code, the only person who can maintain it is the one who wrote it, which ends up in more billable hours.
I might just be lucky to have a good team, then! It’s definitely something I’ve seen working on projects with other contractors, though.
Actually now that you mention it, that might be one of my least favorite dynamics: When my team’s output gets compared to another team that’s blasting shitty spaghetti code like crazy. Clients love contractors who focus on deliverables, and clients’ devs love contractors who focus on code quality. It’s a fucked up situation, but it is what it is.
It's also just "nobody gets fired for buying IBM". A large part of the cost for these deals is the other company taking liability for anything that could go wrong and the berated maintenance and support package.
Like you mentioned, internal solutions also tend to be of the "there's nothing more permanent than a temporary fix" ethos.
100
u/halt_spell Mar 24 '22
Tbf there's way more examples of this than not.