Re:Five-minute Multimethods in Python
by candeira on Wednesday December 07, 2011 @09:53AM
(#3323968)
Python doesn't need a switch or case statement because you can write a suite of ad-hoc functions, stick them in a dictionary with your values as keys, and dispatch on the values:
[ Parent
| on HN ]
There are no comments on this comment yet.