Hacker News new | past | comments | ask | show | jobs | submit login

Many people hate XML more than JSON, and I would agree with them. I hate both, and prefer yaml.



Have you really read the YAML spec? It's a rather complex grammar. I get that YAML is visually cleaner than JSON; however, unless we're constrained to very trivial use cases there's probably too much to think about. JSON's strong lack of TMTOWTDI is an asset here.

As for XML: namespaces, DTDs, entities, XSD, XSL, XPath, and on and on, have resulted in some absolutely horrendous architecture astronautism. XML itself is (mostly) perfectly fine but there are too many unqualified people in the industry wielding XML, poorly, and creating massive headaches. XML also presents some interesting security challenges.


json and xml are visually balanced. All beginnings have an end. I have trouble with yaml because it lacks that.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: