Hacker News new | past | comments | ask | show | jobs | submit login

It's not unheard of to have unions and a couple of if isinstance.

In fact it's why in python they even have the | operator between types nowadays.




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

Search: