Re:YAML templating tool that works on YAML structure instead...
by krapp on Monday December 23, 2019 @06:18AM
(#21862935)
>At what point do we get so deep into templates that we just admit that anything short of a programming language just isn’t expressive enough for a config file?
I want to say that if you need config files to be that expressive, you're not doing configuration, you're still just building the application and probably have some architectural or separation of concerns issues that need to be addressed.
I would assume most YAML config files could be made simple enough that they don't need to be Turing complete, and that they could be written more directly rather than through layers of abstraction.
I want to say that if you need config files to be that expressive, you're not doing configuration, you're still just building the application and probably have some architectural or separation of concerns issues that need to be addressed.
I would assume most YAML config files could be made simple enough that they don't need to be Turing complete, and that they could be written more directly rather than through layers of abstraction.