> On May 26, 2017, at 3:03 PM, Aaron B. <aaron@zadzmo.org> wrote:
>
> On Fri, 26 May 2017 17:32:49 +0200
> François Perrad <francois.perrad@gadz.org> wrote:
>
>> printf("x = %d y = %d", 10, 20); -- C
>> string.format("x = %d y = %d", 10, 20) -- Lua 5.0
>> ("x = %d y = %d"):format(10, 20) -- Lua 5.1
>> cout << "x = " << 10 << " y = " << 20; -- C++
>> string.buffer():put'x = ':put(10):put' y = ':put(20) -- proposal
>
> The C/Lua 5.0/Lua 5.1 way looks a lot more readable to me, compared to
> the C++/proposal method.
Hi,
As an aside to proposals for string formatting in Lua 5.4, is there a place on: lua.org that lists proposals and/or progress on upcoming Lua releases ? I checked the download section for source code for possibly related project notes but didn't find what I was looking for.
Thanks,
- J