Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
judofyr
on Dec 7, 2011
|
parent
|
context
|
favorite
| on:
Five-minute Multimethods in Python
The difference between multimethods and pattern matching is that pattern matching is usually "closed" (you can't add new clauses somewhere else), while multimethods allow you to extend the method with additional functionality.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: