TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How I Learned to Stop Worrying and Love Tech Debt

31 pointsby df07almost 4 years ago

5 comments

Clubberalmost 4 years ago
&gt;“If it makes you feel any better, there&#x27;s a way in which having a big mess is a sign of success. The reason your competitors don&#x27;t have messes is that they went out of business. You won, and your prize is an application that betrays the ravages of time.”<p>I didn&#x27;t read the whole article, and that&#x27;s certainly one way of looking at it. Here is another. That lack of maintainability and flexibility in a core codebase will leave your system in what&#x27;s essentially cement shoes. Your team will have painted themselves in a corner and things that take hours or days in a nimble team with a nimble codebase will take weeks or months. That&#x27;s fine most of the time if you&#x27;re established in your industry, raking in the cash. That is until your industry pivots, and it will pivot. When it does, your team will not be able to pivot and will be included in the &quot;out of business&quot; companies mentioned above.<p>You don&#x27;t have to have every algorithm tuned to computer&#x27;s science&#x27;s optimal guidance, you just have to have a maintainable system that can adjust to the business environment. I&#x27;ve been at plenty of large companies that can&#x27;t adapt by adding new features because all the original programmers left, and management is to scared to touch the system for good reason, the codebase is a horrendous, unmaintainable mess.
MeinBlutIstBlaualmost 4 years ago
My lead taught me at my internship that &quot;working code is better than no code. As you get better and come back to it, your working code will eventually be clean code.&quot; We have a super small team so my lead can easily say those things, but I have learned to agree. Get the product to work. Who cares if you&#x27;ve got a function with inefficient algorithms right now. You&#x27;ve got a deadline and something that works fine. You can just throw a TODO on there, set a calendar reminder, and check back later. It&#x27;s not pretty and yeah it may be like three nested for loops, recursion, and a really indented mess, but so what. It works, and you can follow it. In the business world, all that matters is results. When management is happy, you can go back and fix that thing you now have some extra time for. If not, just make note of it so the next person coming in is aware it&#x27;s bad code. No harm no foul. It just comes with the territory.
评论 #28084134 未加载
评论 #28083442 未加载
评论 #28084527 未加载
sib301almost 4 years ago
Off topic: Everyone using “How I learned to stop worrying and…” for their titles is getting really stale.
评论 #28084317 未加载
评论 #28089804 未加载
matttrotteralmost 4 years ago
<i>Start by making your plan digestible.</i> My favorite quote from the article.<p>Even though the future is unpredictable, we can at least be clear on where we are going.
evilkillerwhalealmost 4 years ago
Very good article!