|
|
|
|
|
by guiand
1624 days ago
|
|
I swear by type hinting in Python, but it is pretty frustrating how many common patterns don’t work or require very convoluted use of typing. It’s an uphill battle to convert a team over to using hinting because of how awkward things can get and how easy it is to just pretend the feature doesn’t exist. |
|
In general I've yet to see what these type check systems (be it mypy, pyright or any other) offer over proper tests. Type hints are there for developers not the machine.