3 ms·
> For example, the naming conventions for methods are camel-case instead of of the python standard “lowercase with underscores.” This has to be a joke right? S
by fictorial 16y ago
> For example, the naming conventions for methods are camel-case instead of of the python standard “lowercase with underscores.”
This has to be a joke right? Style preferences gone wild!
- atleta 16y agoUnfortunately not. Indeed the python standard library is inconsistent and has undescore and camel case and sometimes neither of these mixed. It's not only about style and readability but it's also usability. If you have a consistent style then you only have to remember the name of things (classes, methods, functions). If it's inconsistent then you have to memorize the style for each one as well, which I find pretty painful.