Categories for:

Pickling Python Expressions

My last post introduced the concept of X, a class which "absorbs" operations and behaves like a function. As many people pointed out, this was merely a syntactic alternative to lambda. You may like it, you may not. Now, after a rewrite, X can now... View Article

3 Comments

Fun While Avoiding Lambda (Python)

Readers, meet X. X is a class I wrote in Python as an alternative to using lambda. It has two main features: It acts as an identity function ( so X(3) == 3, etc. ) When performing operations on it, it returns a new class... View Article

13 Comments

Namespaces in Python – Revisited

Taking a short break from my artwork craze (but I promise more is to come), I reviewed some of the new features and changes in Python, brought by versions 2.6 and 3.0. There are many interesting features, but a very specific one caught my eye:... View Article

Reply