I heard that Lua is great for configuration files, so long as you are secure about it. Lua has been used as config files by programs such as awesome
and (recently) conky
.
However, I also heard that using programming to configure a program is an anti-pattern.
Since Lua does not get compiled as part of the program, would this prove as an exception?
Here's a hint of what Lua might look like as a config file:
return {
rootdir = "/abc/123",
debug = true,
things = {
"foo",
"bar",
"baz",
"qux"
}
}