jzed icon indicating copy to clipboard operation
jzed copied to clipboard

Consider camelCase instead of lower_with_underscores

Open focusaurus opened this issue 12 years ago • 1 comments

It's javascript which has a clear convention in the language itself for camelCase functions: toString, parseFloat, toLowerCase, etc. There are no underscores in function names in the javascript language nor any DOM API AFAIK.

focusaurus avatar Feb 08 '14 15:02 focusaurus

Which, to me, is what makes using underscores a good choice. It avoids clashes and indicates who's method you're working with.

*all weather dependant of course..

lecstor avatar Feb 08 '14 22:02 lecstor