Proof that \ is a better line joiner than parenthetical sets

J

John Salerno

Goofy post of the day...

According to the Zen of Python, "explicit is better than implicit", and the
section in the Reference Manual describing the \ line joiner is called
"Explicit line joining" and the section describing parentheticals is called
"Implicit line joining."

So there! ;)
 
J

Joshua Kugler

John said:
According to the Zen of Python, "explicit is better than implicit", and
the section in the Reference Manual describing the \ line joiner is called
"Explicit line joining" and the section describing parentheticals is
called "Implicit line joining."

So there! ;)

However, according to the Zen of Python, the line before

"Explicit is better than implicit."

says:

"Beautiful is better than ugly."

And I think putting parenthesis around a multi-line statement is much
prettier.

So there! :)

j
 
C

Chris Ortner

One or more spaces behind a \ used for joining a multi-line statement
can already generate a SyntaxError exception.

2:1 for paranthesis
 
J

John Salerno

Joshua Kugler said:
However, according to the Zen of Python, the line before

"Explicit is better than implicit."

says:

"Beautiful is better than ugly."

And I think putting parenthesis around a multi-line statement is much
prettier.

So there! :)

Oh, I just got owned! It seems there's a zen to the Zen, as well!

And for what it's worth, I actually like the parentheses better anyway. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top