• xlash123@sh.itjust.works
    link
    fedilink
    arrow-up
    12
    ·
    4 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
      6
      ·
      4 months ago

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