• madcaesar@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    You are correct.

    That says I would never ever EVER start a project without TS.

    It’s like coding with hands vs coding with your elbow.

    • EarMaster@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I also don’t want to compile my C++ code myself. I’m pretty happy with letting a compiler do it’s job…

    • fidodo@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      I really don’t get how people can feel more productive in JavaScript. With typescript the code practically writes itself. Sometimes when refactoring I’ll change a functions input and output signature and just fix compiler errors until it stops complaining, and the code just works without me having to really even think about what the code is doing.

      Any time I’m forced to go back to js I feel like I’m going crazy trying to keep track of what’s in all the variables. With typescript I can use more powerful object structures without having to constantly double check where they came from.