Joe Lapp [mailto:email@example.com]
I think my reaction is just to the proliferation of cryptic single-character identifiers. I don't want to have to ask my mind to memorize the meanings of so many symbols. While '&' and '*' may be mnemonics to C programmers, they are not mnemonics to non-C programmers and non-programmers in general. %, @, |, ~ have no mnemonic value for me. When reading the spec, I found this daunting. I'd rather see a core set of symbols and everything else be English directives.
YAML special characters" " (four spaces)
for indentation as in list (@) and map (%).
for entry, as in a map entry:key : value
and a list entry:
for list, as in:
: Entry 1
: Entry 2
for map, as in:
key1 : value1
key2 : value2
for block, as in:
for removing the last LF of a block, as in:
line noise: |-
!@#\'"$% (no trailing LF)
" and '
for quoted string, as in:
"Hello, world!\n" : 'The key says "Hello, world!\n"'
for escaping in quoted strings, as in:
"The key was written as \"Hello, world!\\n\""
for separating top level maps, as in log files:
date: 2001-07-01 21:12:34
date: 2001-07-01 21:13:45
for default value, as in:
delivery: %!: date%: iso=: 2001-07-01[ and ]for shorthand, as in:delivery [!date %iso] 2001-07-01