• Knusper@feddit.de
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    These exist in theory, but as a whole, I’ve never seen them working at even the base level of what you get in other languages.

    Adding type hints to your code is fucking exhausting, because there is no type inference.
    MyPy regularly calls it quits, when any library doesn’t have type hints. PyCharm regularly doesn’t properly auto-complete, because it doesn’t have type information (if it can load your project correctly to begin with).
    Unit tests exist, yes, but you need 100% test coverage to make the language properly check all code paths. Without it, even just calling a library isn’t guaranteed to work. In no fully statically typed language, would I recommend 100% test coverage, unless you have special correctness requirements.