TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How I Learned to Stop Worrying and Love Tech Debt

31 点作者 df07将近 4 年前

5 条评论

Clubber将近 4 年前
&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.
MeinBlutIstBlau将近 4 年前
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 未加载
sib301将近 4 年前
Off topic: Everyone using “How I learned to stop worrying and…” for their titles is getting really stale.
评论 #28084317 未加载
评论 #28089804 未加载
matttrotter将近 4 年前
<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.
evilkillerwhale将近 4 年前
Very good article!