Tessa Racht 👩‍❤️‍💋‍👩 utilise witches.town. Vous pouvez læ suivre et interagir si vous possédez un compte quelque part dans le "fediverse".

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)

Tessa Racht 👩‍❤️‍💋‍👩 @nergdron

@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.