2 ms·
I'll find the quote eventually, but this caught my eye: >If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program. Go
by johnnyanmac 2y ago
I'll find the quote eventually, but this caught my eye:
>If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program.
Got me thinking. I might heighten up to 4 or 5 simply because modern code needs 2 indents just to start writing a function in a struct. But the quote wasn't as crazy as I thought, even 30 years later.
- dgfitz 2y agoIn code reviews I call them sideways christmas trees and mark it as a bug.