you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 2 years ago (1 child)

That's actually a good idea, enforcing it. Still, do these linters protect against misuse? E.g I have an int but place a string on it somewhere?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 2 years ago*

    Yes, in a good dev workflow mypy errors will not pass basic CI tests to get merged. Types are not really a problem in modern Python workflows, you can basically have a better type checker than Java out of the box (which can be improved with static analysis tools). The biggest problem with Python remains performance.

  • source
  • parent