I didn’t know that ansible-galaxy had a comic
In typical ansible fashion, expect it in 20 years.
Did you know YAML is a recursive acronym? It stands for ‘YAML AML MAML LAML’
Is it polynomially recursive? Like, the AML stands for “AML MAML LAML”, and so on?
You know, at this point I’ve been writing YAML on and off for a while now. You’d think I actually understand the syntax by now, but I don’t.
That’s because it is absolutely terrible. It is the first serious/real “language” I have encountered since Cobol where indent level has functional meaning. This is not good company to be in.
The python community would like to have a word with you.
Python has stricter rules about what can be cludged together and how.
Yaml is… Kind of nebulous, which is not a good thing for a data serialization format.
Could’ve been worse. Could be unprettified json.
Json is incredibly easy to prettify.
| jq
I wrote a json prettifier a couple months ago with just a couple lines of code. I thought it would take a while but ended up taking like 10 minutes.
| jq
A fun YAML fact is that it’s a superset of JSON. All JSON is valid YAML.
Not sure, how much fun there is in that fact