An argument against translating to snake case in Python

Unreal currently translates CamelCase function names in C++ to snake_case in python. I’d like to make a case for changing this behavior.

Here are the cons I see to the current system:

  • Searching for functions across the code base becomes much more difficult. Same goes for searching documentation.
  • It’s not intuitive for programmers unfamiliar with this translation step. Leads to confusion when trying to walk through code by hand.
  • It’s not pythonic. This is arguable, but Pep8 suggests using CamelCase where there is existing precedent. As all of unreal is in camel case, I would say there is.

Pros for current system:

  • Changing it would break existing code.