4 ms·
> Of course you can (if you want to), how do you think all of those 3rd party packages are built in the first place? Using NodeJS APIs of course, that you can a
by throw_m239339 5y ago
> Of course you can (if you want to), how do you think all of those 3rd party packages are built in the first place? Using NodeJS APIs of course, that you can also use if you want to.
Don't be obtuse, by that logic you don't need to use any third party package to write a professional app backed by database in node.js, just write your own MYSQL/Postgres driver? hey /s
My point is I shouldn't have to download a package or write a multipart request parser to manage files sent to a http server.
Someone made a profit out of that stupid situation with a terrible package manager, NPM, all by design.
Node.js creator himself said that relying on NPM was a terrible mistake, that's why he went on creating DENO.
- capableweb 5y ago> My point is I shouldn't have to download a package or write a multipart request parser to manage files sent to a http server. Honestly, how many languages ship something like a multipart parser with the core API? And to be frank, I don't think I'd like the language I'm using to do this, only ~30% of my projects touch web-related stuff anyways. > Someone made a profit out of that stupid situation with a terrible package manager, NPM, all by design. I agree that NPM/NPM Inc is horrible, but for lots of other reasons. Also don't think it was on purpose, just poor and rushed design. > Node.js creator himself said that relying on NPM was a terrible mistake, that's why he went on creating DENO. So? Doesn't mean he is right, who knows what have happened with NPM? Maybe NodeJS would never have taken off in the first place. Brendan Eich also apparently doesn't like gay people, does that mean every JS developer needs to think like him?
- throw_m239339 5y ago> So? Doesn't mean he is right, who knows what have happened with NPM? Maybe NodeJS would never have taken off in the first place. Brendan Eich also apparently doesn't like gay people, does that mean every JS developer needs to think like him? He is absolutely right, NPM was a grift all along. The whole "unix philosophy" argument to justify a paper thin std lib was a farce. NPM architecture is terrible to begin with. NPM is designed the way it is(was, fetch X times the same package instead of linear dependencies) because NPM corp targeted growth as a startup, not eco-system stability.
- capableweb 5y agoAgain, agree that architectural/technically speaking, NPM and it's registry is horrible. But that NPM was a grift, std lib was a farce and everything designed to fuel growth of NPM Inc is gonna need to have some more evidence behind it than you feelings. And please, I really wish you do have proof of this as I'd like it very much if NPM Inc got put into their place. But I find it unlikely they designed things for this purpose. In the end (at least for me), the quest for truth is more important than what I think is right.
- joeberon 5y agoNode.js already has a pretty extensive standard library though, sure not quite Python but still much more than C
- throw_m239339 5y ago> Node.js already has a pretty extensive standard library though, sure not quite Python but still much more than C No it doesn't, by any modern language standard (Go, Python, PHP, Java...)
- maple3142 5y agoI think node.js still have a bigger standard library compared to Rust. You can write a http server (including https and http/2) easily with only standard library.
- skeletal88 5y agoPython standard library is 1000x more complete and useful than anything JS offers out of the box.
- winrid 5y agoAs someone that uses Node a lot- Could you give some examples?