Re: explicit mode
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: explicit mode
- From: Thomas Jericke <tjericke@...>
- Date: 2016年5月11日 11:26:28 +0200
On 05/11/2016 11:08 AM, Jonathan Goble wrote:
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". :-)
Right, but there you have another nice Lua feature
return {
Window = {
x = 5,
y = 100,
}
}
end
;-)
--
Thomas
- References:
- explicit mode, Viacheslav Usov
- Re: explicit mode, Luiz Henrique de Figueiredo
- Re: explicit mode, Viacheslav Usov
- Re: explicit mode, Chris Berardi
- Re: explicit mode, Viacheslav Usov
- Re: explicit mode, Dirk Laurie
- Re: explicit mode, Viacheslav Usov
- Re: explicit mode, Andrew Starks
- Re: explicit mode, Thomas Jericke
- Re: explicit mode, Jonathan Goble