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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Don't Use Code Beyond Its Expiration Date

4 点作者 bit2pixel超过 11 年前

1 comment

valarauca1超过 11 年前
The problem isn&#x27;t really code bloat, bloat will happen. The problem is that the original code was not made to be expandable as the scope of the project changed.<p>Within an organization making code that is extendable and flexible is often VERY difficult, and it can be a VERY hard sell initially. Why spend an extra 8 weeks on a project standardizing how socket intercommunication will be handled internally between your own project(s) code, when you only have 2-3 projects? It sounds like a complete waste!<p>But in reality it isn&#x27;t.<p>Adding features, and changing operations are one of the most common things you&#x27;ll do with tools on hand. Not planning for the future is the easiest way to ensure the future will kick you when your down.<p>This difference of 8-10 weeks can be the difference between your code working for 2 years, and your code working for 15.