MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/30hyan/airbnb_javascript_style_guide_a_mostly_reasonable/cpt942u/?context=3
r/javascript • u/mrkipling • Mar 27 '15
158 comments sorted by
View all comments
Show parent comments
19
Also, using spaces for indentation instead of tabs.
You can have my \t when you pry it out of my cold, dead hands.
1 u/spacejack2114 Mar 27 '15 Yeah, using tabs would make the whole 2 vs 4 vs 8 or whatever debate moot. Formatting or aligning code with spaces is a fool's errand IMO. 0 u/Asmor Mar 27 '15 Actually, aligning with tabs is a fool's errand, and that's the whole reason this entire debate exists in the first place.Indent with tabs, align with spaces, and then everyone can adjust their tab width to whatever they're most comfortable with. 0 u/spacejack2114 Mar 28 '15 I mean aligning at all is a fool's errand, obviously it's not practical to align with tabs. But to abandon the flexibility of tabs for spaces just so you can align multi-line concatenated strings or whatever is foolish.
1
Yeah, using tabs would make the whole 2 vs 4 vs 8 or whatever debate moot. Formatting or aligning code with spaces is a fool's errand IMO.
0 u/Asmor Mar 27 '15 Actually, aligning with tabs is a fool's errand, and that's the whole reason this entire debate exists in the first place.Indent with tabs, align with spaces, and then everyone can adjust their tab width to whatever they're most comfortable with. 0 u/spacejack2114 Mar 28 '15 I mean aligning at all is a fool's errand, obviously it's not practical to align with tabs. But to abandon the flexibility of tabs for spaces just so you can align multi-line concatenated strings or whatever is foolish.
0
Actually, aligning with tabs is a fool's errand, and that's the whole reason this entire debate exists in the first place.
Indent with tabs, align with spaces, and then everyone can adjust their tab width to whatever they're most comfortable with.
0 u/spacejack2114 Mar 28 '15 I mean aligning at all is a fool's errand, obviously it's not practical to align with tabs. But to abandon the flexibility of tabs for spaces just so you can align multi-line concatenated strings or whatever is foolish.
I mean aligning at all is a fool's errand, obviously it's not practical to align with tabs. But to abandon the flexibility of tabs for spaces just so you can align multi-line concatenated strings or whatever is foolish.
19
u/Asmor Mar 27 '15
Also, using spaces for indentation instead of tabs.
You can have my \t when you pry it out of my cold, dead hands.