• taladar
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      17 小时前

      Agreed. Just the idea of finally replacing JS with something only to be another of those “dynamic” languages makes me want to puke.

      • SeeFerns@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        17 小时前

        Asking genuinely as someone who knows not much about this subject, is typescript not already an option? Isn’t it just type safe js that gets interpreted as js?

        • SandLight@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          16 小时前

          Typescript doesn’t run in browser. It gets translated to js by some build steps. I would also say it’s only mostly type safe. You can kind of trick the system if you don’t know what you’re doing or don’t like your coworkers.

          • lemmeBe
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            16 小时前

            No, you can’t if there’s any semblance of a PR review process. Reject until it’s type safe.

        • lemmeBe
          link
          fedilink
          English
          arrow-up
          1
          ·
          16 小时前

          Yes, it is and it’s great. 😎