Glen Pfeiffer
5/9/2007 10:20:00 PM
On 05/09/2007 11:19 AM, Sylvain Joyeux wrote:
> On Wednesday 09 May 2007, anakintang wrote:
>> How can I write "s = s1 + s2 + s3" in multiple lines like
>> below:
>
> Like that
> s = s1 +
> s2 +
> s3
>
> or
>
> s = s1 > + s2 > + s3
>
> AFAIK, the first form is more in use than the second.
In the example given, which is obviously contrived, it makes
little difference. But when s1, s2, and s3 are longer
expressions, I find that the second version is more readily
grokked.
Without looking at the end of a line, you can tell that it is a
continuation of a previous line, and while at the end of a line
to can tell that it is continued.
That's my $0.02
--
Glen