• xlash123@sh.itjust.works
    link
    fedilink
    arrow-up
    16
    ·
    3 months ago

    Back when I was still doing JS stuff, switching to TS was so good for the developer experience. Yeah, there’s still JS jank, and types are not validated at runtime, which was a pain in the backend (pun intended), but still I much prefer it to vanilla JS

    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      7
      ·
      3 months ago

      You know, you can validate data structures at runtime… and write unit tests… TS is not a substitute for those things.