I was talking to my manager the other day, discussing the languages we are using at $dayjob. He kind of offhandedly said that he thinks TypeScript is a temporary fad and soon everything will go back to using JavaScript. He doesn’t like that it’s made by Microsoft either.

I’m not a frontend developer so I don’t really know, but my general impression is that everything is moving more and more towards TypeScript, not away from it. But maybe I’m wrong?

Does anyone who actually works with TypeScript have any impression about this?

  • magic_lobster_party@kbin.run
    link
    fedilink
    arrow-up
    42
    ·
    9 months ago

    CoffeeScript was a fad because it didn’t solve anyone’s problems. It was basically “look how cool code you can write”.

    TypeScript is gaining popularity because static typing solves real problems. It’s also a superset of JavaScript instead of being a completely new language from scratch, which makes it easier for JavaScript devs to learn.

    • brian@programming.dev
      link
      fedilink
      arrow-up
      18
      ·
      9 months ago

      it felt to me like coffeescript solved problems that people had, then js got equivalent features. arguably that could happen to ts as well

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

        Exactly, it was pretty useful until ~2015 imho. Then JS got better, and coffeescript did not follow these evolutions.