Naming rule: Case acronyms as words
Naming rule: Case acronyms as words.
π« getURLParam
β getUrlParam
π« parseHTTPRequest
β parseHttpRequest
The second one is easier to read because itβs easier to see the words.
This is especially obvious with repeated acronyms:
π« parseRESTAPIURL
β parseRestApiUrl
Googleβs JavaScript style guide agrees.
https://google.github.io/styleguide/jsguide.html#naming-camel-case-defined
