The answer to that is that if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. Are there some things which absolutely need three or more levels of looping?
This just feeds back into the same guideline given above regarding indentation levels.
I think that similar guidelines would apply for any language when writing code that must be robust, security focused and auditable at the expense of other things. an encryption library written in Java or Haskell should also be written in a style that keeps things as simple as possible, limits nesting, and tries to separate everything into chunks that can be easily analyzed with all their possible [email protected] for example, machine learning code where you may want to use C just for performance reasons but don't care much about robustness or security since it will be run internally in controlled conditions.
Also, implementing simple business functionality on small embedded microcontrollers - in practice this often has a business like focus on features and development speed at the expense of quality and security, but uses low level languages..
Tabs are 8 characters, and thus indentations are also 8 characters.
There are heretic movements that try to make indentations 4 (or even 2!
You can try calculating the cyclomatic complexity of the code, but what it really comes down to is the readability and maintainability of the code in question. You don't have to do exactly what he says, but you should think about why he's saying [email protected] Roger Actually, that Torvalds-quote only sounds too rigid if you don't get his sense of humor.