4 ms·
Meaningless vent with very little substance. White space issue: code needs to be well formatted. In Python, it can not be well formatted. Self: the author has
by neonihil 5y ago
Meaningless vent with very little substance.
White space issue: code needs to be well formatted. In Python, it can not be well formatted.
Self: the author hasn’t heard of class or static methods, apparently. Explicit scoping is very welcome. Especially when implementing metaclasses or descriptors. By the way: the name “self” is convention. The “self pointer” (khm, that’s why it’s called self) is passed as the first positional argument. If you call it rabbit, then you can use rabbit.foobar in your code.
Object orientation: “Ugly” is not an argument. Python has the most comprehensive and complete OOP implementation. (It even supports multiple inheritance with diamond bases), yet it has the simplest syntax ever. Not sure what the fuss is about.