Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Thu, 20 Mar 2003
Multimethods in Python.
Multimethods are one of those language features that really simplify code if you need them. The GoF visitor pattern disappears in languages with multimethods. It seems that David Mertz had written a multimethod package for Python. It's described in an
article on IBM developerWorks.
I think that Greenspun's Tenth Law of programming
[13:20] |
[computers/programming/python] |
# |
TB |
F |
G |
0 Comments |
Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified bug-ridden slow implementation of half of Common Lisp.needs to be extended to Python as well. At least it's possible to do this somewhat nicely in Python.
You can subscribe to an RSS feed of the comments for this blog:
Add a comment here:
You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are:
<a href>
, <em>
, <i>
, <b>
, <blockquote>
, <br/>
, <p>
, <code>
, <pre>
, <cite>
, <sub>
and <sup>
.You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk