On Tue, 5 Jun 2001, Hugo wrote:

> I'd also like to see a specification for indentation when breaking long
> lines. 

        Fwiw, the style that I prefer is:

        someFunc( really_long_param_1,
                  (long_parm2 || parm3),
                  really_long_other_param
                );

    or, for really complex expressions:

        ( really_long_param_1 
          && (parm1 || long_parm1)
          && ( yet_another_long_param
               && parm2 
               && (long_parm2 || parm3)
             )
        );

        Putting the final close paren on the next line makes it easier to
tell where the (sub)expression finishes.

                        Dave

Reply via email to