[BangPypers] Clojure style multimethod functions in python

Dhananjay Nene dhananjay.nene at gmail.com
Mon Aug 23 12:41:50 CEST 2010


While python's multimethod module allows function overloading based on
types, here's another approach to do the same based on a switching function
(clojure style) or on a set of conditions.

Clojure style multimethod functions in
python<http://codeblog.dhananjaynene.com/2010/08/clojure-style-multi-methods-in-python/>
.

Comments if any welcome on the blog post / here.
-- 
--------------------------------------------------------
blog: http://blog.dhananjaynene.com
twitter: http://twitter.com/dnene


More information about the BangPypers mailing list