3 ms·
If you're interested in another view, see scrollaway's code example linked above, along with my other comment in this thread that links to a couple of my previo
by Stratoscope 10y ago
If you're interested in another view, see scrollaway's code example linked above, along with my other comment in this thread that links to a couple of my previous discussions of the topic.
In short, the real issue with tabs is that you can't reliably use them for column alignment. But many of us have concluded that column alignment is a harmful practice, preferring indentation instead to show the structure of our code.
And once you give up column alignment, you can use tabs for indentation, and it just doesn't matter what tab size the person reading your code prefers. It will read just the same in any tab size and any font, even proportional fonts.
It's really quite liberating to stop using column alignment. :-)
- minitech 10y agoIt's been mentioned elsewhere, but I figured I'd emphasize it here, given > And once you give up column alignment, you can use tabs for indentation You don't have to give up alignment for tabs if you like it occasionally; just indent with tabs and align with spaces. (I highlight leading spaces in a slightly different shade from the background to allow for this.)