Last active
August 29, 2015 14:09
-
-
Save dandean/3d98be9b1ae8a5426e56 to your computer and use it in GitHub Desktop.
The theory that tab characters grant us the ability to have self-determined indent widths breaks down whenever a file contains content which is meant to be vertically aligned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo = "foo", | |
bar = "bar"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var foo = "foo", | |
bar = "bar"; |
I have seen this happen so many times.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Come on Dan. The fact that a tab is typically 4 spaces, and "var space" is typically 4 spaces is totally a coincidence. Plus - you're setting your tab chars to what 8 chars? If you want things aligned vertically, you have to use the same chars to align them. In this case, you're not.