Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tell me more please: how does one use types in Python? Unfortunately I write Python professionally these days (it is the language that has all the libraries) and hate it with a passion.




You will never get good if you continue to hate it. You don't have to like it, but hating it creates a mental block.

mypy is the simplest/oldest option, look into pyright and ty, too.

install uv and then

    uvx mypy
should do the rest.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: