From: Alex B. <en...@tu...> - 2001-07-19 01:32:21
|
> Tabs are 8 characters, and thus indentations are also 8 characters. > There are heretic movements that try to make indentations 4 (or even 2!) > characters deep, and that is akin to trying to define the value of PI to > be 3. ! I love this! :) > Rationale: 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. Ok, yes this is true. > Now, some people will claim that having 8-character indentations makes > the code move too far to the right, and makes it hard to read on a > 80-character terminal screen. The answer to that is that if you need > more than 3 levels of indentation, you're screwed anyway, and should fix > your program. yes, I love this even more! > In short, 8-char indents make things easier to read, and have the added > benefit of warning you when you're nesting your functions too deep. > Heed that warning. heheh.. so, I think this: -I like using /t (tab) because you can set it to be displayed however you like it. I prefer flexibility. but I agree bigtime with the "if you're nested more than 3 down, you're screwed: don't do it. :) _a -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |