[typo] A matter of style

Piers Cawley pdcawley at bofh.org.uk
Tue Sep 27 18:33:57 EDT 2005


Scott Laird <scott at sigkill.org> writes:

> On Sep 27, 2005, at 10:13 AM, Piers Cawley wrote:
>>
>> Yeah, but then I like rectangular arg blocks when they're  
>> parenthesized
>>
>>   object.method(arg1, arg2, arg3,
>>                 arg4, arg5, arg6)
>>
>> Which doesn't do much for shortening lines.
>>
>>   object \
>>     .method(arg1, arg2, arg3, arg4, arg5, arg6)
>
> I hate trailing backslashes.  This looks cleaner to me:
>
>    object.
>      method(arg1, arg2, arg3, arg4, arg5, arg6).
>      anothermethod().
>      somethingelse
>
> I see how this could be confusing to some people, though.

that . doesn't really distinguish itself does it? The backslash has the benefit
of being rather more visible. Plus, on first reading, I thought 'anothermethod'
was one of method's arguments.


-- 
Piers Cawley <pdcawley at bofh.org.uk>
http://www.bofh.org.uk/


More information about the Typo-list mailing list