I’ve been working recently on “rescuing” some code I had written a year ago (under the codename KARPmusic) to control icecast and ices. It’s written in python, so at least that part is easy, but it was written against the TurboGears web development framework rather than Django which I’m using now. Thus, it’s not a simple copy/paste task.

I actually enjoy this kind of archaeological coding. It’s very zen-like because the underlying logic of the code is done and working. All I have to do is put a fresh coat of “syntax-paint” on it. Some might find that kind of coding tedious because you aren’t actually creating anything new. I like it because it allows me to focus on some of the more esoteric aspects of programming (e.g. coding-style, unit-testing) which usually take a back seat to functionality. Another benefit to this kind of code-migration is that I am personally confronted with how much better a python programmer I am now than a year ago.

Now, if I could just apply the same zen-like strategy to other aspects of my life. “I’m going back and re-integrating some of my childhood belief patterns into my current life. Anyone know what I can do with this ‘trust authority’ pattern I’ve found?”

Leave a comment