Hi,

I'm finally returning to #155 (support for snake_case in Mapper) and
found a few inconsistencies

In StringHelpers we have

capify
commafy (which I don't really understand, but never mind :-)

In ClassHelpers we have

camelCase
camelCaseMethod
unCamelCase

The methods in ClassHelpers are just string manipulation functions so
I think they belong in StringHelpers. Also it seems the naming is a
bit inconsistent, with "-fying" being my preference.

So I propose the following

ClassHelpers.unCamelCase -> StringHelpers.snakify
ClassHelpers.camelCase -> StringHelpers.camelify
ClassHelpers.camelCaseMethod -> StringHelpers.camelifyMethod

with due deprecation of old methods.

capify seems to do almost the same as camelCase, but not quite so
probably have to leave it.

Thoughts?

/Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to