Nowadays, people use Toml/Yaml as configuration.
Understandable, but I really miss when app can be configured with real scripts:
- Neovim uses Lua
- Emacs uses some kind of LISP
Using a real scripting language allows us to create functions, declare logic, etc. Plus, we have linter/autocompletion by default, no need to reinvent anything.
Why is this not popular?
Comments (3)
Want to leave a comment?
Sort by: Old
the scripting language configs can be used for some very evil things
YAML or JSON are safer
Yes, but as long as you keep the configs access to yourself, things will be just okay.
As for YAML, you probably see this often:
```
livenessProbe:
exec:
command:
- cat
- /tmp/healthy
```
At the end, because of flexibility lacking, some YAML specs eventually let you write shell scripts.
That's all fine. But in any serious project, at some point, you'll have the computer security guys come over and say "this is risky, do it the other, safer way".