On Sep 9, 2011, at 1:48 PM, Wes Garland wrote:

> On 9 September 2011 16:06, Rick Waldron <[email protected]> wrote:
> I was actually very specifically looking for an answer regarding First letter 
> casing for non-constructor built-in objects, ie. Math and Proxy. I think the 
> legacy Java style guide influence addresses the question as best as I can 
> hope for.
> 
> These  *did* come to us via Java (well, not Proxy), but they are hardly a 
> matter of style; they are a matter of specification.

They're a matter of style, ultimately (in Java).


> Generally we name constructor functions with CapitalLeadingCamelCase and 
> everything else with smallLeadingCamelCase.

Math and other "leaf package names" in Netscape's implementation are 
StudlyCaps, same as in Java. We'll see how people name modules (the importer 
binds the name, so this is all up to users' style preferences in ES6).

/be

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to