3 ms·
Converting from tabs to spaces is easy. But if you try to convert from spaces to tabs you may get a mixture because there is no requirement with spaces that the
by mantap 6y ago
Converting from tabs to spaces is easy. But if you try to convert from spaces to tabs you may get a mixture because there is no requirement with spaces that the indentation is a multiple of anything. Code written using tabs is usually aligned differently.
- pitkali 6y agoBut isn't that just a matter of using a formatter to ensure correct style in addition to tabs? If you are using tabs for indentation, your style guide probably does not, or at least should not, depend on how wide they are on the user's screen.