Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
on Dec 7, 2011
|
parent
|
context
|
favorite
| on:
Five-minute Multimethods in Python
[deleted]
judofyr
on Dec 7, 2011
[–]
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.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: