3 ms·
> powerful as yaml Can you make an example of the power of yaml that makes it more like a programming language (in particular vs JSON)?
by ithkuil 6y ago
> powerful as yaml
Can you make an example of the power of yaml that makes it more like a programming language (in particular vs JSON)?
- riffraff 6y agonot OP but: tags (custom data types), more builtin data types (dates etc), more syntax variations (heredocuments, multiple ways to write a string,a boolean, etc), comments, references+aliases. The language is vast, and most people use it without knowing it. I love YAML, but I wish there was a "strict&sane yaml subset".
- ithkuil 6y agoAll those are good examples of yaml complexity but none of that is anywhere near what even a simple programming language can unleash (variables, loops, functions, recursion etc)