Hacker News new | ask | show | jobs
by pluma 3253 days ago
If you write JavaScript and don't use two spaces for indentation you're being intentionally obtuse.
1 comments

What why?
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.