4 ms·
Interestingly, things seem to be settling down in the JS community. In the past, every time a library lacked a particular feature, the community suddenly abando
by blowski 10y ago
Interestingly, things seem to be settling down in the JS community. In the past, every time a library lacked a particular feature, the community suddenly abandoned it. At the same time, every new version release had all sorts of horrible breaking changes, that made upgrading a very scary task.
Now, the JS community seems to be thinking more about stability and backwards compatibility. That's very welcome, at least from the perspective of this grumpy server-side developer.
- xentronium 10y ago> Now, the JS community seems to be thinking more about stability and backwards compatibility. That's very welcome, at least from the perspective of this grumpy server-side developer. That's exactly why the blog post suggests using yarn instead of npm, isn't it?
- lucideer 10y agoHave you used yarn? Do you know what it is? It's a fully backwards compatible client built on the npm packaging system, using npm's repository, and built in collaboration with the npm team.
- noir_lord 10y agoIts also awesome, I switched when it was on HN a while back and its been amazing. I seldom get excited about JS tools but yarn is an exception.
- boobsbr 10y agoHave you tried PNPM or IED?
- gcd 10y agoIt's not quite ready for production yet. There are still some bugs with dev dependencies and private repos that need to be addressed before we can use it.
- talmand 10y ago>> Interestingly, things seem to be settling down in the JS community. As a front-end dev, to me it seems to be zipping along at the same, old faster-than-it-should pace it has for the past few years. Depends on perspective I guess.
- tboyd47 10y agoI'm still skeptical. Webpack is one of the saner ones. Many JS libraries are still doing break-everything major version releases- Babel and Angular come to mind.
- whostolemyhat 10y agoThat's what a major version is supposed to signify though, isn't it? Most JS/NPM-based projects use semantic versioning, so a major version update means breaking/backwards-incompatible.
- tboyd47 10y agoEven if it's communicated correctly, it's still a hassle.
- whostolemyhat 10y agoAre you complaining that things get updated? You don't have to use the absolute latest versions of everything, you can still use older versions if you want.
- deleted 10y ago[deleted]
- jameskilton 10y agoCaring about upgrade paths is super important to the longevity of a project. See: Python 3 vs Ruby 2 adoption. Taking the mentality that "I can break everything and just bump the major number" will lead to a project that either 1) is no longer is used by many people or 2) is a maintenance hell because people are staying on old versions and asking for bug fixes and improvements.
- shados 10y agoyeah, we're very much building on top now. There's still a few competing options for everything (and that's a good thing! You need SOME competition to ensure nothing stagnates), but we're mostly done redoing everything from scratch. There's still a little churn in the framework and state management world, but the existing options are more than good enough for years to come and nothing drastically different is popping up into the spotlight anymore.