22 Dec
2003
22 Dec
'03
9:22 p.m.
Jon A. Cruz wrote:
- Don't like the keyword-indent-brace-indent double indention.
Yeah, it doesn't bother me, but I prefer to do it Whitesmith style, so it's more like:
for ( i=0 ; i<x ; i++ ) { code... more code.... while ( TRUE ) { stuff here } more code.... }
This way everything, including braces, is at the same nesting level. You can easily run the cursor up and down the code and find all of the lines at that level.
Again, that's just what I am comfortable with. I am not disagreeable to other people's styles (even K&R, yuck!). One thing the manual says which I agree with:
If someone else has started a file with a certain style, stick with it.
Bob