Joan Perals
Posted on October 23, 2019
When it comes to name files and directories, kebab-case should have the following advantages over camelCase:
- Easier to type: no need to hold one key while typing another
- More readable: words are more clearly separated
- No problems for non case-sensitive file systems or configurations
However, camelCase seems to have become the standard for naming files in frontend. Why is that? Maybe because of "convention contamination" from JavaScript? Does anyone have other, maybe more solid, reasons for that?
💖 💪 🙅 🚩
Joan Perals
Posted on October 23, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.