▲ | kelvinjps 7 hours ago | |||||||||||||
I think it's a preference? I find both Python and YAML to give clear beginnings and ends using whitespace, and you can also see it visually. | ||||||||||||||
▲ | wpm 6 hours ago | parent [-] | |||||||||||||
There are plenty of times in Python and YAML I cannot visually figure out where some block ends. JSON prevents this by explicitly closing lists and dicts. Though you do end up with Ladders to Heaven of `}`'s and `]`'s where you have no goddamn clue what is actually being closed out. XML prevents this by explictly stating what element was just closed. Deeply nested XML, provided the elements don't have some 300 character set of attributes all jammed into the opening element, is vastly easier to read than YAML. | ||||||||||||||
|