News for hackers. Stuff that matters.
Re:Httpserver.h: Single header library for writing non-block... by rat9988 on Thursday December 12, 2019 @07:30PM (#21778049)
I'm not sure what you are criticizing really. npm is by far better than what we have in the C world, and why npm in particular? Because it's easy to bash?
Re:Httpserver.h: Single header library for writing non-block... by mschuster91 on Thursday December 12, 2019 @07:50PM (#21778161)
Far better? Lol nope. In the C world the OS distributions and the general nastiness of shipping libraries outside of an OS distro at least turn away the newbies who think that the world needs yet another module that pads a string to X length.

The hardness of C is its weakness but also its strength. C programmers at least tend to know basic programming and OS management skills while JS programmers... oh hell I'm happy I got out of the mess that is "modern" frontend development.

Re:Httpserver.h: Single header library for writing non-block... by jiofih on Thursday December 12, 2019 @09:08PM (#21778565)
You still haven’t said a single word about package management.
Re:Httpserver.h: Single header library for writing non-block... by mschuster91 on Friday December 13, 2019 @03:02AM (#21779906)
oh I do have: the easier it is to publish code/packages, the more newbies and morons will flood your environment, to the point of unusability (or at least inability to do any sort of audit).
Re:Httpserver.h: Single header library for writing non-block... by jonny383 on Thursday December 12, 2019 @09:24PM (#21778651)
npm as a package manager is good in theory. But in practice, it does tend to create a culture of "just use a package" for everything. For example foreach [0].

[0] https://www.npmjs.com/package/foreach

Re:Httpserver.h: Single header library for writing non-block... by rat9988 on Friday December 13, 2019 @02:15AM (#21779733)
While I do easily agree that npm has created some sort of unwanted culture, I still think this culture was born partly because it's easy to publish/import. I can't say the same of the C world, moreover, there isn't only npm in the package management world.