Roughly 50% of programmers prefer hard tabs, so you can find an equal number of never-use-spaces-for-tabs links. With a good editor, it makes no difference at all what you choose. In Sublime, for instance, just click the Tab Size button in the status bar to pick what you want.
Anyway, when using hard tabs, there are two - and only two - simple rules:
1) Press TAB for indentation
2) Press SPACE for extra alignment
Then your code will look great in all editors, no matter what tab width they have set.
It requires that you write code alignment-friendly, so you write:
which is easier to read anyway, instead of the borked:
void somefunc(int param,
So learn the difference between indentation and alignment, and hard-tabs are easy peasy.