Ian Bicking: the old part of his blog

Function Order

One thing about python is that it only evaluates variable bindings when the code is run. So it's quite possible to write something like:

def step1():
    do_something(next=step2)

def step2():
    do_something_else()

step1()

With the actual steps appearing in the right order in the code.

Comment on Ruby, Python, "Power"
by Tom