lua-users home
lua-l archive

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


Woah, what on earth for?

The parser in my head wants to slap someone!

On 2010-09-27 15:19, sam lee wrote:
I always start with comma:

local a = {
    1
    , some _expression_
    , {
        2
        , another _expression_
    }
}

On Mon, Sep 27, 2010 at 9:15 AM, David Kastrup <dak@gnu.org> wrote:
Philippe Lhoste <PhiLho@GMX.net> writes:

> On 27/09/2010 12:14, Jon Akhtar wrote:
>> I know that a lot of code formatting is a matter of personal taste,
>> however, I am developing a code formatter for Lua, and I am in need
>> of a "default" format to support "out of the box".
>
> Tongue in cheek suggestion: take the Lua code written by Roberto and
> Luiz (or just the samples given in Programming in Lua) and use that as
> default style guide.

Not going to be much help deciding at what column to wrap overlong
lines, is it?

--
David Kastrup