On Sun, 03 Jun 2007 08:30:32 +0200, neimad <[EMAIL PROTECTED]> wrote:

There's the same for function calls, should we do
void my_long_function_call(parameter_1, parameter_2, parameter_3,
                                parameter_4)
or
void my_long_function_call(parameter_1, parameter_2, parameter_3,
             parameter_4)

Both styles are ok and I have used both. Depends on the coding style
conventions. (For the second one, it is advised to indent the second
part with two indentation levels.)

I prefer the first one though, as I find it a bit cleaner (and it is
how Emacs indents C by default ;-)).

vi defaults to the second, I think we'll never agree on this ;-)

So, which style to you choose ? (the second one, I bet) I'll set up my
Tuxdroïd mode to use that style.

Just kidding ;-)
Most of the code is already inlining with the opening parenthesis so we can just keep on with that.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
tux-droid-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-user

Reply via email to