On Monday 11 July 2005 17:44, Dmitry Torokhov wrote: > > Descendant must be indented at least to the level of the innermost > > compound expression in the parent. All descendants at the same level > > are indented the same. > > if (foobar(.................................) + barbar * foobar(bar + > > foo * > > oof)) { > > } > > Ugh, that's as ugly as it can get... Something like below is much > easier to read... > > if (foobar(.................................) + > barbar * foobar(bar + foo * oof)) { > } Even easier is if (foobar(.................................) + barbar * foobar(bar + foo * oof)) { } since a statement cannot start with binary operators and as such we are SURE that there must have been something before. And this matches with old shop owner calculations like: 1 + 2 + 3 ---- 6 which we all know since early math classes. Regards Ingo Oeser
Attachment:
pgpUi2rEM4kjB.pgp
Description: PGP signature
- References:
- kernel guide to space
- From: "Michael S. Tsirkin" <[email protected]>
- Re: kernel guide to space
- From: Dmitry Torokhov <[email protected]>
- kernel guide to space
- Prev by Date: Re: Attempted summary of "RT patch acceptance" thread, take 2
- Next by Date: Re: share/private/slave a subtree - define vs enum
- Previous by thread: Re: kernel guide to space
- Next by thread: Re: kernel guide to space
- Index(es):