[Python-ideas] Improving Clarity of re Module

Andrew Barnert abarnert at yahoo.com
Thu Nov 28 06:41:30 CET 2013


From: Ryan Gonzalez <rymg19 at gmail.com>


>Whoops...
>
>matched_text
>matched
>all_groups
>
>Bad habit from C++...


When did C++ change from for_each, find_if, and replace_copy to forEach, findIf, and replaceCopy? The entire C++ standard library, the C standard library that it incorporates by references, Boost and many related third-party libraries, the POSIX API that's available on almost every platform (even Windows), etc. are all lowercase_with_underscores.

Did you mean "Windows C API" when you said C++?



More information about the Python-ideas mailing list