3 ms·
I think that muddies the water a bit too much and relies on too much magic. Self might be weird, but it's one of the most central concepts in python. Especially
by kortex 4y ago
I think that muddies the water a bit too much and relies on too much magic. Self might be weird, but it's one of the most central concepts in python. Especially if someone is coming from javascript. Dataclasses don't quite follow the same rules as regular classes, especially with inheritance. I think waiting to understand decorators is a good call.