This question is similar in spirit to :
But it is based specifically on indentation (spaces vs tabs and the number of spaces).
The reason I am asking here instead of searching is because I remember seeing a specific document writing about this. If I remember correctly, it also talked about why Linus prefers eight spaces.
The document you are referring to is, I believe, the Linux Kernel Coding Standard:
https://computing.llnl.gov/linux/slurm/coding_style.pdf
Personally, I prefer four spaces, straight up. I try to keep it to 79 characters per line, unless I don’t feel like it or there’s a long string. When parenthetical statements or comments spill, I align the beginning to the next tab stop on the first line (or one past the next indentation level if I have to,) then align thereafter. Here is a sample of some of my code (taken from some random codebase I’m working on.) Notice what I do with that multi-line conditional.
This comes, I think, from being a Python programmer. It’s C equivalent of the default indentation scheme in the IDLE editor which I used to use a lot.