• elxeno@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 months ago

      Look at what you’re missing!

      Edit: also, is-odd depends on is-number

      • boonhet@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        3 months ago

        These are both made by the same person from this PR (who also made both the package the PR is on, and the is-number package that is being removed as a dep)

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        Heaven forbid they make a package is-even-or-odd with both. Wait. Don’t give them ideas. They’ll just make it depend on both.

      • darklamer@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        4 months ago

        Sure, but when was the last time you saw, say, a Python project using some third-party library instead of simply calling isnumeric() from the standard library?

        There’s a reason for these jokes always being about Javascript.

        • FlorianSimon@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 months ago

          Python has other stupid problems related to pip. As much as stupid micro-dependencies suck in Javascript, they’re not the shitshow managing dependencies in Python is. It’s an inefficiency that never actually caused me noticeable issues in my former webdev life.

          And let’s not talk about C++… People reinvent all sorts of wheels all the time because sharing anything is so annoying.