Handling of Pascal and Snake name conventions for attributes is a nightmare
Related to MR !161 (merged).
I find that handling both conventions is very complex and there are still several loopholes in the code (in delAttr
, in getAttrType
, ...). Plus, it is not straightforward for the users, even less with namespaces... In C++, you would define an attribute like Mem.Data.B
and it should become mem.data.b
in Python. But worse, you cannot define an attribute mem.data.B
in C++ with the current proposed implementation because of these constrains, which is quite unexpected for the user!
Why not choose the same convention for attribute naming for both Python and C++?