Are line continuations needed?
Derek Thomson
derek at hiredgoons.org
Wed Apr 7 11:00:01 EDT 2004
John Roth wrote:
>Derek Thomson wrote:
>>
>>class ParticleDistributionBehaviorServer \
>> (Microphysics__POA.ParticleDistributionBehavior):
>>
>> [snip]
>>
>>So the fact that you don't need it in the case of incomplete expressions
>>eliminates *most* of the need for it, but there are still a few cases
>>where it is required.
>
>
> Technically, you could have split it at the period, but that
> might be even worse in terms of readability.
I didn't know that, but yes, it would be ugly.
>
> BTW - why did it have to fit in 80 columns?
Because that's our coding standard. But it wouldn't matter if it was 120
columns, or in fact any number you specify - I can still construct an
example that won't work.
Regards,
Derek.
More information about the Python-list
mailing list