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

I find that even when type hints are made "mandatory" using Mypy's strict mode, having a dynamically typed language underneath that allows you to cheat using Any or cast() where necessary makes writing Python feel much less cumbersome than writing in actual statically typed languages.

Presumably, a Python with "mandatory" type hints would still allow you to cheat in those same ways.



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

Search: