amount of character, but why 8?
First, linux guys use literal spaces. Second "The whole idea behind indentation is to clearly define where a block of control starts and ends. Especially when you've been looking at your screen for 20 straight hours, you'll find it a lot easier to see how the indentation works if you have large indentations"
but if they are keeping max_width per line 80 and tab to 8 characters, isn’t it too indented?
"..... if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program."
Wasn't it increased to 120?
yeah, 3 indents is still 30% of whitespace? usually it should be 1-2 levels deep, that shouldn’t be issue but why not 4 or 6?
read this slowly. if you need more than 3 levels..... that's 24 chars wide.... you're SCREWED that's why not 4 or 6 cause you're already SCREWED
yeah, i am talking about case where level <= 3
6 spaces is weird it is not a power of 2 and 4 is considered to be not enough as stated in the very link you sent
"There are heretic movements that try to make indentations 4" they don't explain further, what's issue with not being power of two?
Being a fucking weirdo among other devs
Yes, no one tries to make 6 spaces tabs a thing
maybe hatred towards keeping bits unutilized
People who use >4 spaces get shanked in a dark alley
I use 16 spaces 😎
we should be using 7f-wide tabs then
Why 12 bits? 🤔
The world is a dangerous place. Bad things happen all the time
Обсуждают сегодня