fwiw, we generally just try to do what the language does:
border-radius <- css dashes
document.createElement <- js camel (except constants, etc.)
etc…
border-radius <- css dashes
document.createElement <- js camel (except constants, etc.)
etc…
obj.getSomethingById() <-- theirs
obj.redraw_panel() <-- mine
Non-native English speakers sometimes prefer to name variables in their native language for the same reason.Also, non-english variables are an abomination! I've worked with code with some finnish variables. Not only is it harder to grok, it's actively distracting.