• Bipta@kbin.social
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    This is the core thesis of the article:

    It’s true that sometimes you have to write non-trivial types to convince the compiler that your data is correct.

    That’s okay. Creating maintainable code with high quality often requires putting in the hard work.

    There’s no real substantiation of the claim; just the claim itself.

    Yes TypeScript is onerous but that’s just alright.

    Maybe it’s true but it’s a weak argument.

    • Amju Wolf
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 year ago

      100% agree. Typescript is just a bandaid on top of a broken language. Sure it’s better than bleeding, but it’d be preferable not to get injured in the first place.

      And you can still apply the bandaid wrong.