• Björn Tantau
      link
      fedilink
      1754 months ago

      I mean, the people relying on such packages didn’t learn it either.

      • @boonhet@lemm.ee
        link
        fedilink
        13
        edit-2
        4 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
        link
        fedilink
        English
        74 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
        51
        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.

    • @zqwzzle@lemmy.ca
      link
      fedilink
      English
      124 months ago

      I only glossed over it… but this looks like it’s trying to check dynamic typing issues? It’s like a statically typed language with extra steps?

      • @AVincentInSpace@pawb.social
        link
        fedilink
        English
        384 months ago

        I don’t think typescript exists because JavaScript wasn’t designed to be statically typed. I think Typescript exists because JavaScript wasn’t really designed, period.

      • @AVincentInSpace@pawb.social
        link
        fedilink
        English
        15
        edit-2
        4 months ago

        Must be pretty good, considering literally every time I check in on the JavaScript community it is somehow more on fire than it was last time. I guess I must have a front row seat to all their misfortune. Either that or they’re just incompetent, but it couldn’t be that, could it?