[Python-ideas] Improving Clarity of re Module

Ryan rymg19 at gmail.com
Thu Nov 28 17:52:51 CET 2013


It was the book I used to learn the language that got me into that habit. In fact, I've only used the Windows C API once, and I gave up because I couldn't handle the lack of exception handling. *shudders*

Andrew Barnert <abarnert at yahoo.com> wrote:
>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++?

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131128/946e2c33/attachment.html>


More information about the Python-ideas mailing list