• rhabarba
      link
      fedilink
      163 months ago

      Dynamic typing is the source of very amazing errors, see JavaScript.

      • @sus@programming.dev
        link
        fedilink
        93 months ago

        I think the problems there are exacerbated a lot by over-eager type coercion and other crappy design decisions inherited from almost 30 years ago

        • @barsoap@lemm.ee
          link
          fedilink
          53 months ago

          Yep lua and lisp/scheme are also unityped and not even close to as broken. All are remarkably similar languages, theory-wise.

          …also something something Guido not getting tail call elimination and people sending him copies of the wizard book. It’s been a while.

          (And, yes, lua does proper tail calls).

      • @xmunk@sh.itjust.works
        link
        fedilink
        73 months ago

        Operator overloads are excellent for readable code when used well - I object to their inclusion on this list.

        • unalivejoy
          link
          fedilink
          English
          53 months ago

          As long as you don’t have to implement it yourself.

    • @TheHarpyEagle@pawb.social
      link
      fedilink
      33 months ago

      Honestly, I’ve been using type hints very heavily since they became a thing. I just use IDE completion too much to do without them.