Hacker News new | ask | show | jobs
by didip 2021 days ago
I am with you, I wish the world would just adopt Lua as their config files.
2 comments

I haven't used Lua, but I've used Starlark extensively and I will say that static typing is a boon, especially in the infra-as-code space where the feedback loop can be very long.
Good news. Starlark-go finally supports protocol buffers, so at least the output of your script gets some type checking.
Then you'll need config files for your config files, and we're back to square one.

The scope and capabilities of the config language needs to be limited, otherwise we lose the ergonomic benefits of configuration in the first place.

I sort of agree with this, except that I don't think it's square one. The ability to change config without rebuilding your artifact is one of the advantages of separate config files, and using an embedded language like lua wouldn't remove this advantage.