thing i don't like about python: that you don't declare variables first. that gets soooo confusing, especially with class attributes? or am i missing something? is there a convention to make those more apparent? (just writing attribute = null seems a bit... unelegant)
@mimtschan python's fully dynamic, and that's one of the big design choices in dynamic languages, that variables get bound as you use them. generally if you're making a class, you want to initialize all required attributes and methods and things to something useful, but python does have proper constructors to do that with, so that's generally where that code is expected to go.
@mimtschan i'm just getting back into python and having the exact same problem...