Skip to content

Conversation

tgriesser
Copy link
Collaborator

The uppercased Books in the underscore example section makes it appear as though the underscore methods are static.

@braddunbar
Copy link
Collaborator

I believe @jashkenas' intent here was that Books is a global (hence the upper casing). That said, I agree that upper case variables usually denote a constructor.

@caseywebdev
Copy link
Collaborator

Instances should always be lowercase 👍

@braddunbar
Copy link
Collaborator

If we're going to merge this, we should address the other upper case variables as well.

@philfreo
Copy link
Contributor

+1

@tgriesser
Copy link
Collaborator Author

Cool... pretty sure I got them all. Wasn't sure about NYPL since that's an abbreviation, but either way... more consistent now.

@caseywebdev
Copy link
Collaborator

Wasn't sure about NYPL since that's an abbreviation

I think sticking to the lowercase instance rule is still best here, like you have it.

@braddunbar
Copy link
Collaborator

Looks good to me. Thanks @tgriesser!

caseywebdev added a commit that referenced this pull request Feb 11, 2013
@caseywebdev caseywebdev merged commit 3ce8ff8 into jashkenas:master Feb 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants