lua-users home
lua-l archive

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


I personally switch between

blah
__blah
____body
__end
end

and

blah blah body end end
(or:
blah
__blah
____body
__end end)

all the time... well, it really depends on the context and what I need
at the specific moment. But I thought:

blah
__blah
____body
eeend

in the original ruby discussion was pretty cool though, that "end"
part in "eeend" matchs the correct position of the innermost "end",
while it ends a block of multiple indentation pretty clearly in one
line. But, I am not saying anyone should actually do this or change
the Lua syntax :p it's mere food for thought :p

--
Johnson Lin