6 points · erubini_fg · 1 day ago
news.ycombinator.com/item?id=46881457al_borland
grugdev42
I know it's cliche to say it, but most of the tech debt I've seen is on the frontend.
Most backends are relatively simple. Just a DB with lots of code wrapping it. But even the worst backends are relatively simple beasts. Just lots of cronjobs and lots of procedural code. While the code is garbage, it can be understood eventually. The backend is mature... even the tech debt on the backend is a known quantity!
But the frontend... damn the complexity and the over engineering are something unique. I think there is a fetish among frontend developers to make things as complicated as possible. Packages galore and SO MANY COMPONENTS.
As soon as people start inventing their own design system, UI framework, and sub packages I think the frontend is doomed for that project.
buchanae
This is compounded when people come and go. The software/tech industry, in my experience, does not encourage long tenure – layoffs, reorgs, and the general trend of people hopping between employers every 2-3 years.
Startups also love the idea of building things fast and ugly, and 5 years later that leaves the company with a successful product (hopefully), a team that's grown fast (and turned over multiple times), and a shaky foundation.
Engineering generally seems open to paying down tech debt, but there's an overwhelming amount of it sometimes, and someone needs to deeply understand the problem and lay out a clear plan for taking care of it, and that takes serious effort.
linesofcode
It’s one of the reasons why projects built by just one or two people rarely have the kinds of tech debt you’ll find on large teams.
JimsonYang
ex-aws-dude
If you have one person who owns an area/domain it tends to stay pretty clean.
But as soon as you add more people it becomes patchwork of differing approaches
mamonster
"This data in sheets X,Y,Z is all the same, can we make it a named range and make all the cells that need it refer to it directly?"
"No, like this you check that you put it correctly"
I've seen a sheet that was responsible for millions of dollars in revenue where in order for the formulas to work you had to manually adjust 10 cells once you added a line because it was all stuff like "$A$20:$A$458" instead of, you know, referring to a column in a named table.
Do this repeatedly and it really starts to add up. At times we are running 3-4 platforms for the same thing. Two are legacy with one or two critical things still running on them with no support. One is “production”, but no one is actually paying much attention to it. And one is in development or pilot… it’s all anyone can talk about, but it doesn’t actually work. While that in-house developed pilot is going on, we’ll also be told to do a POC with a tool from some outside vendors.
AI won’t solve political and bureaucratic problems. If anything, it will make it worse, as turnover to new products is expected faster.
To get rid of technical debt, an organization needs to focus. Which means saying “no” to most things, instead of trying to do it all.