Re:JavaScript Fatigue: Realities of Our Industry
by pluma on Thursday July 27, 2017 @08:10AM
(#14864493)
If you write JavaScript and don't use two spaces for indentation you're being intentionally obtuse.
[ Parent
| on HN ]
Re:JavaScript Fatigue: Realities of Our Industry
by scottmf on Thursday July 27, 2017 @09:47AM
(#14865183)
What why?
Re:JavaScript Fatigue: Realities of Our Industry
by pluma on Friday July 28, 2017 @07:47AM
(#14873519)
Because you don't exist in a vacuum and two spaces is the most popular form of indentation in the ecosystem.
But these days I recommend using an intelligent autoformatter like `prettier` when writing JS exactly to avoid any such discussions.