5 ms·
"Hey guys, how can we make the whole tabs vs. spaces thing even worse? "How about we promote mixing the two?"
by Chaoshade 10y ago
"Hey guys, how can we make the whole tabs vs. spaces thing even worse?
"How about we promote mixing the two?"
- cyphar 10y agoActually, I think that mixing the two (alignment is for spaces, indentation is for tabs) fixes all of the problems faced by both camps. It makes the tab width configurable, without ruining any visual alignment you've done.
- delcaran 10y agoThat is what I use, tab for indentation (left-most chars of the line), space for alignment. This what, regardless the editor, the indentation is always correct and the alignment all the same, the code simply slides left or right depending on the tab-size of the editor.