Sorry Python but it is what it is.

  • ExLisper@linux.communityOP
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    8
    ·
    9 months ago

    cargo just works, it’s great and everyone loves it.

    npm has a lot of issues but in general does the job. When docs say do ‘npm install X’ you do it and it works.

    pip is a mess. In my experience doing ‘pip install X’ will maybe install something but it will not work because some dependencies will be screwed up. Using it to distribute software is pointless.

    • krimson@feddit.nl
      link
      fedilink
      arrow-up
      26
      arrow-down
      5
      ·
      9 months ago

      I use pip extensively and have zero issues.

      npm pulls in a million dependencies for even the simplest functionality.

      • QuazarOmega@lemy.lol
        link
        fedilink
        arrow-up
        11
        ·
        9 months ago

        Is that really the fault of the package manager or is it of the libraries you decide to use?

        • ninpnin@sopuli.xyz
          link
          fedilink
          arrow-up
          6
          arrow-down
          1
          ·
          9 months ago

          Fault of the libraries you decide to use, i.e. any and all node libraries

        • TheHarpyEagle@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          9 months ago

          Really the fault of js since its standard library is so lacking (leftpad, anyone?), but js wasn’t built to do half the stuff it’s being asked to do, anyway.

        • krimson@feddit.nl
          link
          fedilink
          arrow-up
          6
          arrow-down
          1
          ·
          9 months ago

          Nope. I know mixing pip with python packages installed through your systems package manager can be a problem but that’s why I containerize everything.

          • qaz@lemmy.world
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            9 months ago

            I separate everything in virtual environments myself, but in my opinion you shouldn’t need to that to simply avoid breaking your system.

      • ExLisper@linux.communityOP
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        6
        ·
        9 months ago

        It probably works for your own local project. After using it for couple of days to install some 3rd party tool my conclusion is that it has no idea about dependencies. It just downloads some dependencies in some random versions and than it never works. Completely useless.