2 ms·
Something that I feel gets overlooked in tabs versus spaces is that a tab generally has a specific semantic meaning (increase indent by one) whereas a space's m
by harimau777 7y ago
Something that I feel gets overlooked in tabs versus spaces is that a tab generally has a specific semantic meaning (increase indent by one) whereas a space's meaning depends on how many spaces you are using to indent and a single space has no meaning on its own (unless you are indenting using only one space).
As a side note: I wish that JavaScript had a utility like the "indent" utility in Unix for precisely styling C code. Prettier is close; however, it cannot be customized in the detail that I would like.
- thiht 7y ago> however, it cannot be customized in the detail that I would like That's the whole point. Why is what you want better than what the formatter says?
- harimau777 7y agoI don't mean customized by an individual user, I mean customized by the team to fit their style guidelines.
- bryanlarsen 7y ago"it cannot be customized in the detail that I would like" Many people consider this a feature, not a bug.