[Freeciv-Dev] Re: [Review] Re: advdomestic.c cleanup II. (PR#1157)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
--- "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx> wrote:
[..]
> >if (doodle
> > && beeble) {
> > blah = trrrrr
> > + frrrr;
> >}
> >
> >and NOT
> >
> >if (doodle &&
> > beeble) {
> > blah = trrrrr +
> > frrrr;
> >}
>
> I don't know if this was universally agreed on or agreed on by lack of
> response, but yes, yes, YES!
> indent -kr2 -bbo ... # should be updated in the main FAQ pages.
I think lack of response, but I prefer to think that it was taken for
granted by most of the people thus not discussed much ;)
-bbo is by default in KR style btw.
However it will not re-break the lines, it will just wrap overly long
line in this way.
To Petr: What's so good about it? I really don't know (probably Ross
knows better) any unbeatable reasons. I'm just used to it and I think
it's the standard way. BTW, in school I was tought to put the operator
on both lines, like
y = 4x^3 + 5x^4 + 6x^5 +
+ 7x^6 + 8x^7 + 9x^8
but it was a different world then ;) and you cannot do it in C...
G.
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
- [Freeciv-Dev] Re: [Review] Re: advdomestic.c cleanup II. (PR#1157),
Gregory Berkolaiko <=
|
|