Re:Common Expression Language
by didip on Thursday December 10, 2020 @05:07PM
(#25379425)
I am with you, I wish the world would just adopt Lua as their config files.
[ Parent
| on HN ]
Re:Common Expression Language
by throwaway894345 on Thursday December 10, 2020 @05:11PM
(#25379474)
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.
Re:Common Expression Language
by otabdeveloper4 on Friday December 11, 2020 @02:25AM
(#25383281)
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.
Re:Common Expression Language
by blandflakes on Friday December 11, 2020 @09:31PM
(#25394782)
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.