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@yahoo.com> wrote:
From: Ryan Gonzalez <rymg19@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.