Saturday, January 15, 2005

Closures for anonymous storage

Via The 80/20 Solution I saw a piece of Python code by John Lam, which he calls elegant. Now he is right to call it elegant — he is comparing it with his experience to implement the same in C++. But he uses a technique which you see a lot in scripting, but which I find rather unelegant: creation of property names (or attribute names) with string manipulations. …

0 Comments:

Post a Comment

<< Home