3 ms·
Not the be the voice of reason in a sea of crazy; but this is just stupid. correlation != causation - making an assumption on pay rate vs who uses tabs and wh
by iamNumber4 9y ago
Not the be the voice of reason in a sea of crazy; but this is just stupid. correlation != causation - making an assumption on pay rate vs who uses tabs and who uses spaces makes my brain hurt thinking about what moron approved this article.
Set the tab stop to what ever your project/team style guides requires. Tabs to spaces is just plain stupid. Why on earth would you ignore the x09 character, a single character that exists for this exact reason, and replace it with multiple x20 in the file. Just set your tab stop to what you like to look at, be it 2, 4, or 42 characters. By the way the default is 4 characters for most editors/IDE's.
vim - :set tabstop=4
vscode - to your settings add the following. "editor.tabSize": 4
Everyone else's comments are moot!
Debate over.