13
MrMarco
4y

Npm is a sickening mess

Comments
  • 4
    How?
    Are you totally sure it's npm and not the Javascript itself?
  • 4
  • 1
    @melezorus34 No doubt the JS itself is a root cause
  • 1
    Well, the sheer size of the dependency tree is a mess yes, a real fucking mess in fact and its only getting worse. The tool itself is pretty good and robust, never had any real issues with it. It sure has to be damn good when it needs to deal with that messy dependency tree.

    JS is also pretty good at its intended use case. Manipulating the DOM using prototype orientation and behavior delegation. I am currently maintaining and trying to improve a somewhat complex PDF annotation tool written by someone who believed classes was a thing in JS and its pretty much a lost cause at this point.
  • 1
    True man.
    Shit's getting fucking serious mess.
  • 1
    @theuser JS is good at it’s intended use case? Seriously?? Then explain jQuery
  • 0
    @MrMarco Why yes, with JS they made JQuery. Must be a pretty powerful language then, although JQuery was probably overused as well.

    These days, lodash would be more relevant to bring up.
  • 0
    Demo is meant to solve this mess in a way.
  • 0
    @Zappy Yes, decentralized dependencies is probably the way to go. That used to be a thing before Node and that's how it should've been in the first place. I hope something like webpack will support Deno at some point.
  • 0
    It’s just fascinating to me how people keep polishing the same turd and then trying to make an argument for it being fine. How long has it been now, 25 years !?
    JavaScrip SUCKS and it’s whole ecosystem SUCKS!!!
  • 1
    @MrMarco There are lots of turds out there that are being polished, but they are still being used because they've been polished for so long that they just work and an eventual replacement is very long term.

    Also, maybe you should clarify what's wrong with Javascript and the ecosystem in general. Preferably in several sentences.
  • 0
    @theuser Do you need explanation about what's wrong with this?
    I'm sorry but you don't need several sentences to point out why JS is shit

    https://external-preview.redd.it/il...
  • 1
    @MrMarco Showing yet another example of someone abusing the value coercion system is not a good enough explanation.
  • 0
    @MrMarco Boy have you ever tried to subtract "le" from "Apple"? Yeah, me too, didn't work.

    But since I'm "triggered"(actually bored) I will explain every god damn line and WHY DO YOU GUYS DON'T RTFM!?

    https://docs.google.com/document/d/...

    I feel like Austin from GT now.
  • 0
    @melezorus34 It is fairly obvious that he is hating on the type coercion system like roughly 90% of the other JS haters. The rest are far few between, sadly.
  • 0
    @theuser dude I don't care that honestly, it didn't make sense to me until rtfm too. HOWEVER the assigntment line f**king killed me.
Add Comment