• CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        4
        ·
        8 个月前

        I actually did miss that one. TIL.

        Interesting that it’s just as nu as TypeScript, despite TypeScript definitely coming after.

        • ZILtoid1991@lemmy.worldOP
          link
          fedilink
          arrow-up
          3
          arrow-down
          1
          ·
          8 个月前

          I roughly based the nu-obsolete scale on language features not age (or use), TypeScript is just ECMAScript with an optional type safety feature.

          • Randelung@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            8 个月前

            That’s… not the whole story. TypeScript is very powerful without users noticing. The most widely used feature is probably implicit this binding in fat arrow functions, but also targeted compilation to lower ES standards. It’s not just type annotations à la Python.