[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Backslash-newline escape as a line continuation rather than a newline?
- From: Shmuel Zeigerman <shmuz@...>
- Date: Sun, 04 Apr 2010 18:56:48 +0300
Roberto Ierusalimschy wrote:
Sure, with every syntax change, some existing code needs to be
fixed. But in the case of this (proposed) change:
a) there is not so much code to fix (cases like the above are rare), and
b) the fix is local and trivial
I guess the same is true about removing the '\n' from strings broken
This change seems to be more intrusive, as it would affect not only
existing code, but also existing data. For example, some my utilities
serialize strings to files using string.format("%q"), as in PIL example.
(But in the end, what matters most is not what is easier to fix, but
what is better to future Lua versions.)