Just curious why the C++ standard library uses all lower case and underscores instead of
PascalCase naming convention.
Personally, I find the latter much easier to deal with when typing out code, but is there some kind of legitimate reason to use the former?
Main reason : To keep compatibility with the existing code, since they have done it with C also.
You have to go through the C++ Coding standards
These links discusses about the naming conventions of C/C++ Standard Library.
- Naming Convention for C API
- C/C++ Library Naming Convention
- C Library Naming Convention
- Why does Java use CamelCase, while C++ doesn't ?