You know, I work on another project where we often line things up like that in
the middle of a line, and I swear there's one guy with some bizarre tab stop,
because every time he plays with a section of code like that, stuff is all
over the place and someone else has to rearrange it! We all just kinda took it
in stride, but this is a perfect solution (and a big ol' "duh" too) :-)
Aaron
""Christian G. Warden"" <[EMAIL PROTECTED]> said:
> On Tue, Mar 16, 2004 at 07:08:09PM -0000, Aaron Stone wrote:
> > I'm a fan of GNU style, with two spaces between levels and curly braces on
> > intermediary levels by themselves. All but their stupid function format.
> > Nobody should have to #ifdef every single function with K&R compatibility;
> > that's just dumb.
>
> My preference is that tabs should be used for indentation at the
> beginning of lines and spaces should be used for any spacing within
> lines.
> This allows each developer to set tabs as wide as they like in their
> editor and the code always looks fine.
>
> f(x) {
> for (i = 0; i < 10; i++) {
> someVar = "abc";
> someOtherVar = "xyz";
> i = 5;
> }
> }
> _______________________________________________
> Dbmail-dev mailing list
> [email protected]
> http://twister.fastxs.net/mailman/listinfo/dbmail-dev
>
--