Broken pipe
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Fri May 14 21:56:08 EDT 2010
In message <4bec2a9a$1 at dnews.tpgi.com.au>, Lie Ryan wrote:
> On 05/13/10 22:41, Lawrence D'Oliveiro wrote:
>> In message <mailman.2720.1273210637.23598.python-list at python.org>, Chris
>> Rebert wrote:
>>
>>> Also, please don't use semicolons in your code. It's bad style.
>>
>> Wonder why they’re allowed, then.
>
> they're there for line continuation, e.g.:
>
> a = 40; foo(a)
>
> but in many cases, putting two statements in a single line reduces
> readability so use the semicolons extremely conservatively. But the
> worst is the abuse of semicolons for end-of-line markers.
So why are they allowed, then?
More information about the Python-list
mailing list