• HiddenLayer555@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 months ago

    A statically typed Python would be my dream programming language.

    Can someone please make Typethon?

    • porous_grey_matter@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      Type checking for python is not bad these days, just run pyright (or mypy, I would like to prefer the non MS solution, but we have found pyright much more rigorous) on your code. Yes obviously you can still get out of it with an ignore statement, and that might occasionally be necessary for some libraries, but if you enforce no errors in pre-commit or CI then it’s only a little worse than compile time.