• jpeps@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    2
    ·
    1 year ago

    Even alone I find it indespensible. I find it’s mainly useful for writing code correctly the first time around.

    • fkn@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      3
      ·
      1 year ago

      Some people think better with typing information explicitly written out. Some people don’t. In my opinion it is a creativity thing. Some people like to make art that is photo realistic, some people like to make abstract art.

      I understand both viewpoints. In my free time I vastly prefer late bound, dynamically types languages with robust reflection engineers built into their interpreters. For work, I heavily prefer late bound, strictly typed with reflection optional or minimal.

      Different people think differently.

      • jpeps@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        I think that’s fine if that’s how you like to work on your own, but I’d challenge anyone to do that and write better documentation while also getting a team or whole business to do the same. A huge strength of TS is that it gives people no choice but to document their work.

        • fkn@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          I didn’t say JavaScript… and I certainly wouldn’t choose TS for a personal project because I personally feel that its organization is terrible but I would choose TS over vanilla js for work projects because it does produce better group work and is easier to maintain long term because of the structure imposed on it.