29 Apr 2007 esteve   » (Journeyer)

Snakes everywhere

I've been hacking a bunch of Python code recently: SCons, Buildbot, Twisted, SWIG bindings, etc. It has been a long time since I touched a line of Python (I worked with Zope and did some wxPython), but I still remember how to code Python.

There are still some issues I cannot understand:

  • global functions

    why len(list) instead of list.length?

  • regular expressions

    why are not regular expressions built into the language?

  • object orientation looks like a hack

    def foo(self, bar), str(4), etc. and so on

    Nevertheless, I prefer writing Python rather than Java, my wrists don't hurt so much :)

  • Latest blog entries     Older blog entries

    New Advogato Features

    New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

    Keep up with the latest Advogato features by reading the Advogato status blog.

    If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!