jeffolsi10 <yirage2...@coalamails.com> added the comment:

it can. This is why I'm asking this.
Consider APIs that return list of names in camelCase. You must convert the keys 
to snakeCase to create tables from it as it's bad practice to have capitalised 
letters in columns or table names.

Further more, consider someone who wants to create tests to make sure all 
developers used snakeCase for function names. There are many many use cases.

You can also see the examples in stackoverflow that I posted. 500 votes up and 
there are many more.

Again I think this is totally in the domain of capitalize, swapcase which we 
already have. I think that snakeCase has way more use cases than capitalize.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40437>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to