2 ms·
> Lua's syntax is beautifully simple and unambiguous local print = print ("hello"):format() local foo = func ("args to func"):itreturnedatable
by nmz 1y ago
> Lua's syntax is beautifully simple and unambiguous
local print = print
("hello"):format()
local foo = func
("args to func"):itreturnedatable("!")
- 90s_dev 1y agoWell of course you can trick people who aren't familiar with its syntax. But people who are see that this is local print = print("hello"):format() local foo = func("args to func"):itreturnedatable("!") And I'm sure they can guess that that does.
- nmz 1y agoI didn't trick anybody, this was a pitfall that was patched in 5.2