I know JavaScript is a very special boi but c’mon, you’re embarrassing me in front of the wizards.

  • arty@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    7
    ·
    21 days ago

    Types are good

    Opinions vary on this topic, apparently. There’s a proliferation of untyped languages.

    • BatmanAoD
      link
      fedilink
      arrow-up
      2
      ·
      21 days ago

      There’s a proliferation of dynamically and/or softly typed languages. There are very few, if any, truly untyped languages. (POSIX shells come close, though internally they have at least two types, strings and string-arrays, even if the array type isn’t directly usable without non-POSIX features.)

      • bitcrafter
        link
        fedilink
        arrow-up
        2
        ·
        21 days ago

        Forth is arguably an example of a truly untyped language.

      • FizzyOrange
        link
        fedilink
        arrow-up
        2
        ·
        20 days ago

        TCL & CMake are fully stringly typed. Both pretty terrible languages (though TCL can at least claim to be a clever hack that was taken far too seriously).

        • BatmanAoD
          link
          fedilink
          arrow-up
          2
          ·
          20 days ago

          Oof, yeah, those count. The fact that CMake was best-in-class when I wrote C++ professionally was…awful.