lua-users home
lua-l archive

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


Suppose your program has some very short actions in an if.

if condition then call_my_routine() else return end

Do you indent it as:

if condition then
   call_my_routine()
else
   return
end

or as

if condition
   then call_my_routine()
   else return
end
if condition
   then call_my_routine()
   else return
end

or not at all?