lua-users home
lua-l archive

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


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