Re:Airbnb JavaScript Style Guide
by akvlad on Monday November 05, 2012 @03:20PM
(#4745573)
I'll agree with many of the guidelines, but some are just personal taste. For instance, I like to indent my JS with 4 spaces and so does Douglas Crockford (http://javascript.crockford.com/code.html)
[ Parent
| on HN ]
Re:Airbnb JavaScript Style Guide
by OriginalSyn on Monday November 05, 2012 @03:48PM
(#4745718)
I prefer to emulate the prevailing standard of my server side language when it comes to indentation, so when I'm working with PHP in the back end it's 4 space when I'm working with Ruby it's 2.