4 ms·
> Why do the majority of JS developers prefer spaces over tabs? Because, with a fixed-pitch font such as is used in programming, the meaning of a space is unam
by lutusp 12y ago
> Why do the majority of JS developers prefer spaces over tabs?
Because, with a fixed-pitch font such as is used in programming, the meaning of a space is unambiguous (unlike tabs). Also, having two indistinguishable whitespace characters is bad, and mixing them in a single file is worse. So one chooses the least problematic of the two.