Comment by dist-epoch

Comment by dist-epoch a day ago

3 replies

> I'd prefer to have non-performance critical code for Python written in Python

A type checker is performance critical code. You can watch how Pylint, just a linter, written in Python, lints your source code line by line. It's so slow it can take 30 seconds to update the linting after you change some lines.

misnome a day ago

Or entire projects abandoning checking because mypy is so damned slow for anything non-trivial

mixmastamyk a day ago

Many of these make the mistake of running against an entire codebase instead of checking vcs first and only running against changed files.

  • maleldil a day ago

    You still need to type-check files that weren't changed if they were affected by a file that was.