5 ms·
Two examples I can recall. First time was an embedded application for a smallish (2-3 SW developers total in the company) firm. The code was, by my estimation,
by ryandrake 10y ago
Two examples I can recall. First time was an embedded application for a smallish (2-3 SW developers total in the company) firm. The code was, by my estimation, initially developed by a real talented senior guy. It at one time did what it was meant to do pretty well, and adhered to sound (at the time) best practices. Well Mr. Senior Guy ended up leaving for whatever reason, and since then, a string of less senior folks were brought in one by one to burn out maintaining the system throughout the years. And by "maintain" I mean "toss in every feature under the sun that the CEO asked for, whether or not it made sense and whether or not the rest of the system kept working". Every little thing that might get one potential customer to say yes was bolted on hastily and shipped as soon as it could compile. Just get it to work by any means and ship it. I was brought in as one of this long string of people. By the time I came, the CEO was frustrated that the system could not be added to quickly enough anymore, and that core functionality would fail in the field more and more often. It was a total mess, and eventually proved irredeemable. I'd like to say I left the system in better shape than I found it but at the end of the day it didn't matter. Technically, this project is not dead so it doesn't meet this Ask HN's criteria, but I don't think they ever have or will make another major release of it. It will limp along until they start taking technical debt seriously.
The second one was a mobile app that was originally ported from some legacy J2ME app and "gotten to work" on the iPhone platform. It was pretty much a straight port, data structure by data structure, from Java to Objective C, and didn't really use the platform properly at all. For example, each and every control was hand-crafted to mimic the original J2ME app, rather than using the built in UIs that iPhone provided. It got to the point where nobody could touch it without it falling over, and no senior person was willing to work on it anymore. I was senior enough in my career at that point that I could insist that a complete re-write was the only way to go. We did that successfully and the previous pile of technical debt was killed.
Those examples aside, I'd say that almost every place I have worked suffered from technical debt to a large degree. The common theme was a huge legacy code base that suffered for years (decades) from repeated "just cram it in and get it to work" abuse. The metaphor I always like to use is: No home builder on earth would, when their requirements were to build a 5 story apartment building, take a single story single family home and just add 4 floors. But seemingly every company building software attempts to do this.
- Bartweiss 10y agoThat's a great metaphor, thanks.