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.

  • logging_strict
    link
    fedilink
    arrow-up
    2
    ·
    18 days 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.

  • logging_strict
    link
    fedilink
    arrow-up
    1
    ·
    18 days 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.