Rant


  • Thursday, December 11, 2008 - 10:37

    So I've run across the issu of tabs vs spaces again and have decided to put in my two cents. A nice overview of the topics is given here, but I disagree with is final conclusion. The topic actually consists of three points:

  • Monday, November 24, 2008 - 11:40

    Python has a really cool feature called decorators. Which allow you to wrap functions around other functions in a clean way. The classic example would be the @trace decorator which would let us do this:

    @trace
    def sayHello(name):
       print 'Hello %s!' % name

    If we define the trace decorator like this:

  • Tuesday, November 11, 2008 - 19:00

    QUOTED FROM: http://www.macosxhints.com/article.php?story=20070511123925218
    Mon, May 14 2007 at 7:30AM PDT • Submitted by cdimara