Answer the question
In order to leave comments, you need to log in
What to choose as indents in js, spaces or tabs?
Now there is a discussion about what to choose as indents. Advise which is better?
Answer the question
In order to leave comments, you need to log in
I will say from my personal experience: I have not yet seen recommendations to use tabs instead of spaces.
And personally, I advise using spaces.
2 spaces, then the code will be comfortably edited both in notepad or any file manager in the "admin panel", and in any editor and IDE, and somewhere the tabs turn out to be too long, and the "admin panel" (<textarea>) can enter a tab generally impossible.
2 spaces that are tabbed. Customizable in any editor, including notepad++.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question