title: Capitalization convention for JavaScript objects
body: <p>I know this question has no answer, but I'm curious to know what other people think.</p>
  
  <p>In a language like Java, it's a convention to begin classes with capital letters, and objects with lowercase letters. But what about JavaScript, where everything is an object?</p>
  
  <p>I've seen some people suggest capitalizing only objects that are treated as classes; i.e. function objects with a prototype, that are intended to be used with the <strong>new</strong> operator. Instances of those objects would be lowercased.</p>
  
  <p>That sounds logical. But what do you do about "global objects", where there's only one instance? Most people seem to capitalize these (for example, <strong>Math</strong> or <strong>Ext.History</strong>). This intuitively feels right, but it's hard to justify it with a consistent rule.</p>
  
  <p>And what about objects that are used as namespaces? These seem to be all over the map: <strong>YUI</strong>, <strong>Ext.util</strong>, <strong>jQuery</strong>, etc.</p>
  
  <p>Please provide secular rationalizations for your heart-felt religious views.</p>