lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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
with '\'.

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.)

--
Shmuel