Rationalizing ASI (was: simple shorter function syntax)
Mike Shaver
mike.shaver at gmail.com
Sun Jul 25 17:45:06 PDT 2010
On Sun, Jul 25, 2010 at 8:15 PM, Mark S. Miller <erights at google.com> wrote:
>> veryLongObjectName.someOtherVeryVeryLongObjectName.ridiculouslyLongFunctionName
>> (longArgument1, longArgument2, longArgument3, longArgument4,
>> longArgument5);
>
> Yes. Even in the absence of ASI issues, my inclination would be to put the
> open parent at the end of the first line. YMMV.
Many (most? virtually all?) indent-helping editors prefer the LP on
the second line, since otherwise they indent the argument list to
start at the 75th column, or what have you. Not much point in
splitting the lines in those cases without putting the LP on the
second line.
Mike
More information about the es-discuss
mailing list