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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Jonathan Blow on Removing Dependencies

21 点作者 anonymousab19 天前

5 条评论

austin-cheney19 天前
Absolutely. This is part of the reason I refuse to go back to JavaScript work, because JavaScript developers don&#x27;t live in that world.<p>Everybody claims to want software that achieves better performance and better durability. Even in JavaScript land people claim to want better performance and better durability. Yet, when it comes down to taking ownership or actually doing the work there is no greater evil, so there is a lot of lip service and whining there.<p>As an experiment just mention replacing some dependencies at work in JavaScript land with some code you have written and see what happens. There aren&#x27;t salaries large enough to go back to that.
underdeserver19 天前
&gt; But the thing to realize is most of this implementation is spam. It is mostly doing things for people who are not you, for reasons you don&#x27;t necessarily agree with, chosen by a decision-making method that is deeply flawed.<p>It&#x27;s not flawed. It&#x27;s just made by people whose goals differ from yours.
sky222419 天前
He really hit the nail on the head with the part about realizing you only need 8% of what a dependency provides a lot of the time.<p>I recall working on a project where we were using some really old WPF library that provided a bunch of controls for doing things like dropdown menus, data grouping, etc.<p>We were doing an upgrade of the project, and this library was holding us back since it was stuck on an older version of .NET Framework. I realized we only needed that dropdown functionality since we didn&#x27;t use anything else from the library.<p>Ultimately, I just copied the dropdown logic directly from the library, but rewriting it myself wouldn&#x27;t have been a big undertaking either (it just happened to be open source, so I figured if it ain&#x27;t broke, don&#x27;t fix it).
wduquette19 天前
The smaller the supply chain, the smaller the chance of supply-chain attacks. I program mostly in Java these days, and I have always been very careful of adding external dependencies to my code bases. A few times I have in fact replaced a commonly-used dependency with a home-grown own; and yes, I&#x27;ve been very happy.
Inityx19 天前
This sure does attribute a lot to malice what could be adequately explained by stupidity.