DEV Community

loading...

Discussion on: snake_case, camelCase, or dash-case?

Collapse
trubblebruin profile image
Tristan McDonald

One thing that's also a consideration here is that with kebab case, in your text editor you lose the option to select the whole variable name as well as chunks of it, like you can with snake case and camel case. For this reason I use snake case in my CSS classnames and IDs.