News for hackers. Stuff that matters.
Re:Why type hinting sucks (/r/Python) by geewee on Saturday February 11, 2023 @08:06AM (#34752004)
Perhaps it might not make sense to write type hints for your own prototyping code, but the fact that many libraries and stdlib functions are annotated certainly improves my velocity.
Re:Why type hinting sucks (/r/Python) by iainmerrick on Saturday February 11, 2023 @08:51AM (#34752281)
Yes! I find this with TypeScript and JavaScript too. Even if I’m just writing a quick script in JS, the fact that most of the libraries I’m using have TS definitions is really useful.