As far as I can tell, the code window here is always 79 characters wide. If there are lines longer than 79 characters, there will be a horizontal scroll bar shown, to see the rest of the code that does not fit in those 79 characters.
Example:
public static void fillCheckList(string ListType, int RecordNum, CheckBox chkRequired, TextBox txtComplete)
{
fillCheckList(ListType, RecordNum, chkRequired, txtComplete, null);
}
When it could look like this:
public static void fillCheckList(string ListType,
int RecordNum,
CheckBox chkRequired,
TextBox txtComplete)
{
fillCheckList(ListType, RecordNum, chkRequired, txtComplete, null);
}
At least for me, the second example is a lot more easier to read, because I can see everything without using the scroll bar. This was not even close to the longest lines here: there are a lot sample code here, especially Xcode generated iPhone code, where lines are over 150 characters long. Using a scroll bar to see what is actually happening in the code is pretty difficult; Copying the code to an editor locally is a lot better solution.
Are there people who actually think that the first example is easier to understand or is it too difficult to split long lines before posting them here?