couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolai Teofilov <n.teofi...@gmail.com>
Subject Re: JSON style question
Date Fri, 25 Mar 2011 12:52:35 GMT
Peter,

This is what exactly a was about to use camelcase but was not sure. Now I am sure! 

thankYou!
 
On 25.03.2011, at 13:40, Peter Nolan wrote:

> it comes down to personal preference mostly, but for most javascript
> variables people tend to use camelcase as in first letter of first word is
> lower case while the first letter of all other words are capitalized.
> 
> so it'd be
> 
> quantumEfficiency
> 
> 
> Though i believe Benoit doesn't camelcase
> 
> do what you're comfortable with - just please don't start switching you're
> style throughout your code.  whateverYouChooseStickWithIt - just makes code
> reading easier.
> 
> -Pete


Mime
View raw message