Multi-Line Strings: A Modest Proposal

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Sat Aug 13 23:44:43 EDT 2016


On Sunday, August 14, 2016 at 1:53:42 PM UTC+12, John Wong wrote:
> s = ("this string continues " +
>        "substring continues")

Now there’s a Java way of doing it. :)

I prefer implicit string concatenation myself.

Isn’t it peculiar that, while this feature was introduced in C and faithfully propagated to C++ (and Python), it was inexplicably omitted from Java?

And seemingly, from Perl as well...



More information about the Python-list mailing list