I See Dead Code

… as sounding brass, or a tinkling cymbal.

I See Dead Code header image 4

Entries from July 2009

Breaking Event Cycles

July 12th, 2009 · No Comments

A recurring problem in (not only) GUI programming are event cycles, i.e. the receiving of events oneself has triggered. These can quickly lead to event cycles, where change triggers change triggers change, until something gives out—usually the stack.
A particularly cheap way of breaking cycles are simple boolean flags:

class Foo(object):
listen = True
[...]

[Read more →]

Tags: python

New Talks

July 5th, 2009 · No Comments

Over the last months, I gave two talks, one at TaCoS in Heidelberg on Text+Berg digital, the other one in our local Python user group, swiss.py, on Python metaclasses.
The slides can be found on the Talks page.

[Read more →]

Tags: Uncategorized