1. 16
  1.  

  2. 9

    The title is probably a bit too strong, but having worked extensively with TypeScript for the last several months, I definitely agree with the overall sentiment. The compiler has caught many many bugs, and prevented vast quantities more with great type-aware autocomplete.

    The engineering organization I’m in (my company has a couple) is standardizing on TypeScript for UI development going forward because it makes quality JavaScript code much more achievable.

    1. 3

      In my experience “All X should <some constraint> using Y” is not realistic.

      1. 1

        That way if there’s an issue in typescript….

        1. 2

          It is certainly not possible for there to be an issue in javascript… or, more realistically Babel, or the other ES.next compilers that everyone is using…