I use 2 also, I've never had any problems - it cuts down on heavily nested items running really far to the right.
Anyways, it seems like this would be easy to fix with a script that changes " <char>" to " <char>" at the start of a line in each file within a directory?
Comment
I use 2 also, I've never had any problems - it cuts down on heavily nested items running really far to the right.
Anyways, it seems like this would be easy to fix with a script that changes " <char>" to " <char>" at the start of a line in each file within a directory?
Replies
Err, thats obviously 2-spaces-then-a-char changed to 4-spaces-then-the-char. Damn you html :(
Of course if you go by Linus' rules, if you've indented that far, you should have a function.
Heavily nested things are a design problem in you application...