TL;DR Over the last several years, tools like uv, Pydantic, FastAPI, and type hints have made Python DX feel as modern as TypeScript, with similar performance and type safety.

all 2 comments

sorted by: hot top controversial new old
[–] 2 points 10 months ago

Great read. Enjoyed the comparison between JS and Python.

Had to guess DX means developer experience. Hey i live in a hut on the moon. We don't have youtube.

  • source
  • [–] 0 points 10 months ago

    btw use mypy AND pyright. The OP writes, mypy OR pyright.

    mypy -- chokes on excessive number of overloads. Annoyingly runs forever.

    pyright -- more verbose; finds issues mypy never will

    So when mypy broke had to use pyright. Then fixed mypy by ignoring a module and some configuration voodoo.

  • source