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

In your example you'd just have two different types with no subtraction operation defined between them. That has nothing to do with type hints.

What you probably meant: This is where being strongly typed helps. Python is and always has been strongly typed.



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

Search: