• @pileghoff@programming.dev
    link
    fedilink
    English
    4
    edit-2
    11 months ago

    How would they add runtime checking without breaking all existing code?

    But I think warning people is a good start, because those checks can be added to your CI pipeline and reject any incoming code that contains warnings. That way you can enforce type checking for a subset of modules and keep backwards compatibility.

    • @Sigmatics@lemmy.ca
      link
      fedilink
      111 months ago

      By making it opt-in. But that’s not much different from static typing then, except that it won’t actually work when you screw up typing