lua-users home
lua-l archive

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


On Wed, May 11, 2016 at 2:26 AM, Thomas Jericke <tjericke@indel.ch> wrote:
> I don't think it's a bad idea to structure your configuration parameters.
> And once you do that you don't have that many globals in configuration files
> either:
>
> return {
>     Window = {
>         x = 5
>         y = 100
>     }
> }
> end


Another argument against this style: you forgot the mandatory field
separator comma after "x = 5". :-)