How to format longish function call with very long single parameter?
From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Tue, 08 Jan 2008 21:11:58 +0530
Hi All,
Consider the following example,
SVN_ERR(svn_client_diff_summarize_peg2(target_url, &peg_revision,
In this example we may get past the 79 character limit.
We can format it like the following.
Format style 1: Left Justified arguments trying to be as close to
SVN_ERR(svn_client_diff_summarize_peg2(target_url, &peg_revision,
Format style 2: Left Justified at 2 characters indentation from function
SVN_ERR(svn_client_diff_summarize_peg2(target_url, &peg_revision,
I like Format Style 1 as I could see all the arguments closer including
Format style 2 looks closer to our style of longish assignment
**
I would like to know what others feel on this.
With regards
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.