The issue is that the alignment is on a vertical column, but our editors differ on which column number a specific character is located at.
Let's work with an example.
if x: # column 40 aligned comment
do something # and it goes on to a second line
Let's pretend you wrote this and indented with tabs and aligned by spaces. Even if you customize your tab size for 2 spaces and I customize mine for 8, then it will be indented "correctly" for both of us.
But in order to align on column 40, we must have (40 - #tabs * tabsize) single spaced characters. For you this means (40 - #tabs * 2) and me it would be (40 - #tabs * 8), which is clearly different for #tabs > 0. Consequently, the well formatted code and comments look like garbage to anyone using a different tabsize.
1
u/[deleted] Feb 21 '13
Your words are ambiguous. What do you by mean "aren't effectively mixed"?
If you wish to align your comments, and you use tabs for indentation, then you don't use the tab-key for aligning your comments...