2 ms·
> One of the big advantages to type hinting in Python is that it feeds the IDE a lot of information to increase auto-complete functionality Yeah, until this di
by pansa2 2y ago
> One of the big advantages to type hinting in Python is that it feeds the IDE a lot of information to increase auto-complete functionality
Yeah, until this discussion I thought the main benefit of type hints was earlier detection of bugs via static checking. Now though, I'm getting the impression that the bigger benefit is enabling IDE features such as autocomplete.
That helps me understand better why I haven't found type hints as useful as others seem to - I don't use an IDE. My use of Python is limited to small scripts which I write in a simple text editor.
- LordKeren 2y agoThere’s a fair argument to make that better IDE autocomplete does prevent many type-related issues even before a static type checker is run