• Thorry84@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    Yes the compiler/interpreter can figure it out on the fly, that’s what we mean by untyped languages. And as stated both have their merits and their faults.

    Elon doesn’t know what the words mean and just chimes in with his AI future BS.

    • janAkali@lemmy.one
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      10 months ago

      Yes the compiler/interpreter can figure it out on the fly, that’s what we mean by untyped languages.

      Are there untyped languages? You probably meant ‘dynamically typed languages’.

      But even statically typed languages can figure out most types for you from the context - it’s called ‘type inference’.

      • nul@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        10 months ago

        Most of my code is untyped. First I type it, then I realize it’s all wrong and use backspace to untype it.