Hacker News new | past | comments | ask | show | jobs | submit login

If you write JavaScript and don't use two spaces for indentation you're being intentionally obtuse.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: