• Redkey@programming.dev
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      16 hours ago

      Sorry for not being clear; when I said “keep track automatically” I meant dynamic typing. Of course you’re right that “keeping track of your variables” could also be interpreted to refer to static typing.

      • chonglibloodsport@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        57 minutes ago

        Haskell keeps track of your types automatically. You can ask it “what is the type of this expression” and it will infer it for you. Haskell is of course fully static typed (types erased at compile time).