News for hackers. Stuff that matters.
Re:How to name things in programming by crimsonalucard on Monday May 25, 2015 @11:09AM (#9600324)
why not?
Re:How to name things in programming by fluffyllemon on Monday May 25, 2015 @11:58AM (#9600502)
PEP 8: https://www.python.org/dev/peps/pep-0008/#function-names

>Function names should be lowercase, with words separated by underscores as necessary to improve readability.

Re:How to name things in programming by msellout on Monday May 25, 2015 @11:49AM (#9600469)
Convention.

FYI for non-Pythonistas: the prevailing convention is lowercase_with_underscores for everything, except CamelCase for class names. Of course, the core types are mostly lowercase. I think it's somewhat like being a famous scientist; you know you're really important if your name is lowercase.

Re:How to name things in programming by yellowapple on Monday May 25, 2015 @01:29PM (#9600883)
This is similar to most dynamic/scripting languages of that era, for that matter; both Perl and Ruby (and, IIRC, PHP) have similar conventions. Things got bungled when Java programmers started insisting on camelCased function names even outside of Java.
Re:How to name things in programming by fanf2 on Tuesday May 26, 2015 @08:15AM (#9604231)
Things got bungled when Smalltalk used an old version of ASCII which had a backarrow instead of underscore. Smalltalk used backarrow for assignment and had no way to separate words in identifiers other than CamelCase. Smalltalk programmers kept this convention when they moved to Java, even though the technical limitation was gone and they could have used a more legible style.