I know that this is a very generic question, but I am sure this question will benefit most of the developers in making a choice of YAML over other markup languages stack overflow.
I came to know about YAML from one of my lab mates, who used to use it for all intermediate file operations in his project that we were working on. I asked him why only YAML? Why not JSON or XML? He said YAML is quite popular these days and that didn't seem quite a satisfying answer to me.
So asking here, why YAML over JSON and XML? In what scenarios does choosing YAML over any other language will be a good/bad choice.
Is there any other language that does better than YAML?