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

To some extent, Python's methods are a lot closer to multimethods than methods in other single-dispatch languages (largely because they have an explicit self).

This has the side-effect of making multiple dispatch work with the same syntax reasonably well http://en.wikipedia.org/wiki/Multiple_dispatch#Python



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

Search: