|
|
|
|
|
by huhtenberg
2030 days ago
|
|
The latter came from Linus, so yeah it's, erm, opinionated (and what you read as "rage-y" is actually humorous). His point still stands though - if you ever need one too many indent levels, the code could almost certainly use simplification. |
|
> The answer to that is that if you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program.
Maybe in context of old C, but in java you have two nestings just for being in class method. So as a general point, it does not stand anyway.