Zitat von "Johan Hedberg" <johan.hedb...@gmail.com>: > The rule is: at least by two tabs and as much as possible as long as the > line remains under 80 columns (and following continuation lines use the > same indentation). It's what BlueZ and other Marcel's projects use and > seems to be what the kernels doc/CodingStyle is implying in "Chapter 2: > Breaking long lines and strings" too (it's quite terse about this > though). In a way it makes sense to me too: only tabs for indentation > (which is the more general rule) and minimize the amount that the eyes > have to "scroll back" when looking at a split line.
My eyes never complained when reading books. Just imagine all left-to-right text being right-aligned! The result looks awful and rather confuses the eyes because they are used to continue at the start of the next line or on visual hooks like an opening brace (block indentation to visualize grouping): /* some text * Note: some other text that * continues on another * line but forms a * visual block * even more text */ int foo(int a, int b, int c, int d, int e); or a _small_ _fixed_ indentation (if you prefer BSD style): /* some text * Note: some other text that * continues on another * line but forms a visual * block * even more text */ int foo(int a, int b, int c, int d, int e); Have a nice weekend :) HS ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users