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

If you actually type your code [1], pyright is miles ahead pycharm in every case I've seen. For partially/incorrectly typed code pycharm is often better in practice because it relies on heuristics. (tbf. Some libraries lack or have bad stubs, which can be annoying using pyright (eg. Pandas)).

[1] You don't have to typehint everything for this to work. Pyright infers return types just fine for instance



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

Search: