MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/30hyan/airbnb_javascript_style_guide_a_mostly_reasonable/cptdhww/?context=3
r/javascript • u/mrkipling • Mar 27 '15
158 comments sorted by
View all comments
Show parent comments
38
Yes - they suggest a tab indent of 2 spaces instead of the obviously-correct value of 4. Hence, mostly reasonable :)
2 u/DaemonXI Mar 27 '15 Normally I like four spaces, but JavaScript is so heavily nested with callbacks that I think using two spaces actually makes the code more readable. 11 u/anarchy8 Mar 27 '15 Use promises. Problem solved 7 u/redditor0117 Mar 28 '15 Problem resolvedFTFY
2
Normally I like four spaces, but JavaScript is so heavily nested with callbacks that I think using two spaces actually makes the code more readable.
11 u/anarchy8 Mar 27 '15 Use promises. Problem solved 7 u/redditor0117 Mar 28 '15 Problem resolvedFTFY
11
Use promises. Problem solved
7 u/redditor0117 Mar 28 '15 Problem resolvedFTFY
7
Problem resolved
FTFY
38
u/mrkipling Mar 27 '15
Yes - they suggest a tab indent of 2 spaces instead of the obviously-correct value of 4. Hence, mostly reasonable :)