I tried writing some JavaScript today. I tried not to add any frivolous dependencies. I ended up with 18k dependencies. This is not a joke.
Yeah, definitely a lot of things seem to stand in for what seems like it should be in the standard library. It gets exacerbated by the multiple incompatible ways of doing similar things in different contexts with no attempt to create a unified API for it
-
-
e.g. everything is `react-` or `angular-` or whatever. There's no equivalent to `Read` in Rust, so you get things that work with node streams, things that work with async generators, things that work with XHR, things that work with fetch, all incompatible
-
That still doesn't explain the biggest culprit IMO though, which is the huge increase in trivial 2 line functions as libs (and folks actually using them). When I did a lot of frontend, you saw things like underscore and moment.js, packages of reasonable size that were coherent
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.