3 ms·
Camel case results in several sources of frustration for me: 1. Is it userID or userId? HTTPClient or HttpClient? Leaving this additional stylistic choice up t
by exogen 12y ago
Camel case results in several sources of frustration for me:
1. Is it userID or userId? HTTPClient or HttpClient? Leaving this additional stylistic choice up to people results in conflicting styles even within the scope of "camel case" everywhere! (JavaScript mostly leaves them uppercase, e.g. DOMException...then there's XMLHttpRequest...)
2. Code isn't the only place we need to make this choice: what about configuration files? I find that using camel case for configuration keys – even if the configuration will be the input to a camel-case-language program! – just feels incredibly wrong.