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

If I have a function that returns something in a list, why not declare it as such? The pain in Python typing comes more from bolting a largely (but not entirely) nominal type system on a structurally typed language. That can be addressed by Protocols.


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

Search: