lua-users home
lua-l archive

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


So basically you'd want to reinvent COBOL, BASIC, Fortran in Lua (with their tons of identifiers) !


Le dim. 24 mai 2020 à 20:40, Andrea <andrea.l.vitali@gmail.com> a écrit :
Xavier

But I doubt the "<" and ">" symbol: Lua is a language that less use
symbols, we use "if ... then" but not "

local pi in const = math.pi
local fh in close = assert(io.open(fn))
local const in const, handler in close = a, b

I totally agree: Lua is nice and friendly because use less symbols than other languages. 

Your proposal seems quite good. I would like to be able to write 

Local pi is const = 3.14
Local handle will close = fopen()

No weird bracket angles. And the occasional reader of the code would be able to guess the meaning!

Maybe LHF and RI can give a feedback on that?

    Andrea 

--
Andrea Vitali