Re:JavaScript Things I Wish I Knew Much Earlier In My Career
by jlangenauer on Tuesday April 20, 2010 @06:43PM
(#1280820)
It wasn't just fuzziness, it was outright whimsy in the YAML spec. Interpreting the string "Yes" (and "on") to actually mean a boolean true is one of the dumbest things I've seen in any specification, anywhere.
(YAML died on fuzziness in the specification mistakenly perceived as virtue. "YAML's not dead!" Compared to JSON, it is, and thank goodness.)
Incidentally, if you aren't using it strictly, you're losing some of the advantages yourself. If your parser accepts single-quoted strings, or even worse if your serializer generates them (ick!), just as one example, you're in some trouble, even if it all works for you right now.