Timeline for Convert camelCase function name to snake_case
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 27, 2022 at 14:32 | comment | added | greybeard | The "backpatching" kicks in with multiple capitals in a row (acronym/initialism) followed by (another capital and) a lower case letter | |
Nov 27, 2022 at 13:25 | comment | added | TomS | I'm confused for the need of the backpatching line. I get what the line actually does but I'm not sure when that if statement would be true? Could you clarify for me please? | |
Nov 27, 2022 at 13:01 | comment | added | TomS |
That's a nice solution albeit confusing. I will try and get my head round and do some comparisons to my solution. I think you want to call a .lower() on the whole of the last line to meet the test cases exactly as I described.
|
|
Nov 20, 2022 at 22:04 | history | answered | greybeard | CC BY-SA 4.0 |