[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Spaghetti, macaroni or ravioli?
- From: Martin <eden_martin_fuhrspam@...>
- Date: Wed, 16 Aug 2017 17:32:45 +0100
On 08/16/2017 10:49 AM, Dirk Laurie wrote:
> 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
> > [...]
I always start any statement from clean line.
local obj = {
dummy = function() end,
get = function(self)
return self.dummy
end,
}
-- Martin