5 ms·
Try writing YAML in combination with templating (such as in Salt). Because indentation means hierarchy, it's terrible. I'd much rather use JSON in such a contex
by bsandert 10y ago
Try writing YAML in combination with templating (such as in Salt). Because indentation means hierarchy, it's terrible. I'd much rather use JSON in such a context.
- vithlani 10y agoThis is a problem with Salt's YAML abuse, not YAML.
- nojvek 10y agoWhat's salt?
- ptman 10y agoProbably https://saltstack.com/ https://saltstack.com/
- RangerScience 10y agoI couldn't find an example of Salt on that site; more specifically, I couldn't find an example of the templating you're talking about. I didn't look very hard, but I'm spoiled by things like Sinatra, Coffeescript, and SlimLang. Can you point me at an example of what you're talking about? I can't really evaluate what you're saying with the information I have.