Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Recommend how capitalization is handled #25

Open
philipashlock opened this issue May 2, 2013 · 0 comments
Open

Recommend how capitalization is handled #25

philipashlock opened this issue May 2, 2013 · 0 comments

Comments

@philipashlock
Copy link
Contributor

URLs, XML, and JSON are all case sensitive. In many programing languages like javascript camel case is preferred for variable names, but API resources specified in a URL are often preferred to be all lowercase and hyphen separated, while the names of values in json are often lowercase and underscore separated. This seems to be the implied convention based on the examples shown and matches my own personal preference, but this should be clarified. Camel case seems appropriate as code, but not as data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant