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.

NPM and the future of JavaScript

51 pointsby dberhaneover 6 years ago

15 comments

chatmastaover 6 years ago
What an arrogant presentation...<p>1) “npm is the best at x, y, z” with no data to back the assertion or attempt to address the many counter arguments<p>2) we just released a bunch of brand new security code! So it must be secure!<p>3) everyone is using npm, that must mean it’s the best, and not that technical debt is forcing the choice on everyone<p>4) everybody in the audience stand up and sit down when I say<p>Jeez
评论 #18203394 未加载
评论 #18204322 未加载
评论 #18203267 未加载
royjacobsover 6 years ago
After the Nth time in which npm failed to install correctly (incorrect package resolution and even an occasional stack overflow exception) we moved to yarn and never looked back.<p>It&#x27;s amazing to me that npm, which has been around for quite a while, still manages to be so broken. I normally try to give developers the benefit of the doubt, but i really believe the frontend world is worse off because of npm.
0xfebaover 6 years ago
NPM and Yarn have made a nightmare out of our project. We have 50 direct dependencies. The lockfiles only lock your direct dependencies, any transitive ones can change at any moment, making our CI builds fail when something works locally. And they don&#x27;t actually check integrity -- that v1.5.0 of ABC is the same as v1.5.0 from a month ago.<p>I saw Yarn added last month a hash of the (hopefully) source of the dependencies -- that&#x27;s what we need.<p>Despite using lockfiles, some transitive dependency changed and we decided it was best to upgrade the direct dependency, requiring a big refactor. The alternative was to fork the library and maintain it ourselves -- which I am refusing to do from this point on. We have about 10 forked 3rd party libraries. No more.<p>I feel like I spend 30% of my time just trying to upgrade&#x2F;maintain the current builds because some stupid loosely semver&#x27;d dependency changes, rather than writing new features.
评论 #18206451 未加载
评论 #18203615 未加载
评论 #18206784 未加载
valwover 6 years ago
&gt; The best framework is always the one with the most users.<p>What???
评论 #18203612 未加载
crooked-vover 6 years ago
The key things that got my team to switch to Yarn were (a) the lockfiles didn&#x27;t keep changing formats when running installs and (b) workspaces for monorepos.
zallarakover 6 years ago
I have terrible memories of npm install on the caltrain, with tethered wifi.
Hansiover 6 years ago
I&#x27;m a bit of a outsider looking in being a manager that doesn&#x27;t code much anymore but why the dislike of Typescript? I really don&#x27;t see the downside. Transpiling doesn&#x27;t make it 1:1 anymore but all devs seem to praise it.
评论 #18204913 未加载
tashoecraftover 6 years ago
Slightly misleading to say Angular is in decline when you group Angular 1 and 2+ together.
评论 #18203520 未加载
评论 #18203332 未加载
评论 #18203522 未加载
评论 #18203213 未加载
评论 #18203223 未加载
评论 #18203690 未加载
bitwizeover 6 years ago
&quot;JavaScript is the most important programming language in the world.&quot;<p>Either that statement is false, in which case the JS community really is that insular and arrogant -- or it&#x27;s true, which is probably even worse.<p>Either way, this assertion scares me.
评论 #18203229 未加载
评论 #18203134 未加载
评论 #18203067 未加载
评论 #18203286 未加载
magicbuzzover 6 years ago
“Transpiling is a code smell” - what is the thinking behind this statement?
k__over 6 years ago
lol, what are the Yarn devs saying about this? :D
评论 #18204338 未加载
wishinghandover 6 years ago
I can&#x27;t tell from the slides, are the ill-advised recommendations a tongue-in-cheek title or are they serious?
评论 #18202895 未加载
ravenstineover 6 years ago
It&#x27;s this kind of Kool-aid swallowing of React that has kept me away from it. I don&#x27;t care how great of a tool it is.<p>To paraphrase the last 8th of the presentation:<p>- Use React.<p>- If we all just use React, React will live <i>forever</i>.<p>- React is better because users.<p>So much of the rhetoric around React is disturbingly cultish.
techntokeover 6 years ago
JavaScript appears to have been primarily created to spy on users. I don&#x27;t need every website to take over the presentation of content. Information shouldn&#x27;t be coupled with design to limit choice. I&#x27;m ready for a new browser that uses a more modern markup format.
exitcode00over 6 years ago
Javascript is a cancer. But I guess if you can&#x27;t beat it, might as well learn to love the cancer?
评论 #18204390 未加载