• Pfnic@feddit.ch
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    2 years ago

    I get why JavaScript can be terrible but at least there’s TypeScript. I’d argue Python suffers from the same problems but hasn’t got anything comparable to TS for keeping types in check and can’t autoformat well because whitespace is syntactically meaningful. In that way I think Python is worse to write maintainable code with.

      • Pfnic@feddit.ch
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        A quick search showed me that’s mainly for AI, or can it be used for general scripting too?

        • kboy101222@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          I’ve made an entire website for a project off python. It’s a general purpose programming language

    • TheCee@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      This. And additionally, JavaScript perhaps has one unlikely advantage: Churn for the sake of following trends.