3 ms·
Out of curiosity I checked it out. This feels a lot like Chef or Puppet DSLs. On the pro side, this gives you flexibility to write whatever convoluted logic you
by athenot 8y ago
Out of curiosity I checked it out. This feels a lot like Chef or Puppet DSLs. On the pro side, this gives you flexibility to write whatever convoluted logic you want in code. But that also means you need to know the quirks of each DSL once you start to deal with modules.
And despite them calling the language a DSL, it really is a subset of a general purpose programming language, so there's if readability is a goal, well there's going to be an unavoidable amount of line noise.
As a matter of personal taste, I find this to be less readable than Ansible's YAML. Though it's not the most elegant way to express things, it's still a lot cleaner and predictable than code.
In all fairness, the author addresses this in his documentation:
> You might like the language of one thing more than the other. Pick that thing.