2 ms·
> I probably learned most when dealing with Helm, My opinion is that helm does the completely wrong thing: patching text. It should instead patch objects, so
by znpy 3y ago
> I probably learned most when dealing with Helm,
My opinion is that helm does the completely wrong thing: patching text. It should instead patch objects, so that we don’t have to deal with indentation and other silly things.
I don’t think it’ll ever change though :(
- kevincox 3y agoI'm completely with you. Generating a data structure using a text templating language is just awkward and error prone. In fact I'm starting to think that text templates are very rarely the best option. It is usually better to have a proper emitter library or AST data structure that can be generated with "real" code. I guess one of the few places that text templates can provide value is when the template is untrusted. But maybe a sandboxed programming language is still a better option here.