You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently acronyms are treated as a set of single-character parts. So URLOptions will be converted to [u, r, l, options]. This is basically never desirable.
Names should be split like so:
URLOptions → [url, options] URL → [url]
Names should be formatted as such:
Style
Output
camelCase
urlOptions
PascalCase
UrlOptions
snake_case
url_options
kebab-case
url-options
Train-Case
Url-Options
Note that we should not entertain retaining whether something is an acronym (i.e., doing URLOptions → URL-Options) -- it becomes messy very fast, and a naming convention should be consistent. See this StackOverflow question for an example argument.
The text was updated successfully, but these errors were encountered:
Currently acronyms are treated as a set of single-character parts. So
URLOptions
will be converted to[u, r, l, options]
. This is basically never desirable.Names should be split like so:
URLOptions
→[url, options]
URL
→[url]
Names should be formatted as such:
urlOptions
UrlOptions
url_options
url-options
Url-Options
Note that we should not entertain retaining whether something is an acronym (i.e., doing
URLOptions
→URL-Options
) -- it becomes messy very fast, and a naming convention should be consistent. See this StackOverflow question for an example argument.The text was updated successfully, but these errors were encountered: