9 ms·
Is there any strong argument against camel-casing, or is it just a stylistic preference? I traditionally like it as it's easier to pick out individual words, bu
by rodriguezcommaj 14y ago
Is there any strong argument against camel-casing, or is it just a stylistic preference? I traditionally like it as it's easier to pick out individual words, but I am open to any arguments one way or the other.
- TylerE 14y agoI just find it ugly. I'll admit that's oldschool, and use lots of short variable names, often abbreviated. This tends to be less of a source of error than a typoInAnExtremlyLongAndVerboseVariableName.
- RyanMcGreal 14y agoThe Python community generally seems to prefer words_with_underscores over camelCase. See PEP-0008 for more detail on coding conventions: http://www.python.org/dev/peps/pep-0008/ http://www.python.org/dev/peps/pep-0008/
- rodriguezcommaj 14y agoThanks for the resource. I guess I will have to get used to using underscores, which I currently dislike typing.