Wouter van Ooijen writes: > > and always give each brace it own > > line. Sure it > > takes up more lines, but unless you are being forced to work > > on a 14" screen > > at 640x480, this should really be a none issue. > > Why? In my experience every added line of readable code (not comment or > whitespace) I can see on my screen without scrolling increases the local > complexity I can handle. Personally, I find that additional whitespace makes code more readable. There is also certainly an advantage to having an entire function visible on the screen at once. I consider this one of those areas where trade-offs must be made. As such, I will often break one function into several simply to increase readability. While this is generally not a performance hit on non-embedded machines, it could be a problem with PICs. -p. _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist