Don't Invent XML Languages (2006)
tbray.org
Don't Invent XML Languages (2006)
1–10 of 99 posts
Re: Don't Invent XML Languages (2006)
#2Re: Don't Invent XML Languages (2006)
#3I don't even know why we have any *ML. Everything they can do can be done with Lisp-syntax better.
Re: Don't Invent XML Languages (2006)
#4I don't even know why we have any *ML. Everything they can do can be done with Lisp-syntax better.
How in hell is that comparable to anything "Lisp-syntax"?
Re: Don't Invent XML Languages (2006)
#5I don't even know why we have any *ML. Everything they can do can be done with Lisp-syntax better.
XML is a document markup language. As in, articles and books n stuff. How in hell is that comparable to anything "Lisp-syntax"?
But, also, there's plenty of uses of XML that are not "artcles and books". For example, Maven's pom.xml and log4j2.xml.
Re: Don't Invent XML Languages (2006)
#6I don't even know why we have any *ML. Everything they can do can be done with Lisp-syntax better.
Whether you think S-expressions are superior probably depends on the use case you have in mind. And there's a good chance it's not the use case you should be optimizing for.
Re: Don't Invent XML Languages (2006)
#7Re: Don't Invent XML Languages (2006)
#8Now 18 years later, JSON seems to have displaced it.
Personally, I've never found text-based formats to be a good choice for data that humans will rarely need to read or write; I much prefer simple and efficient binary formats, which can be just as extensible without the additional inefficiency and needlessly-introduced-failures of string handling.
Re: Don't Invent XML Languages (2006)
#9Re: Don't Invent XML Languages (2006)
#10Side question: when did XML start to loose favour to JSON? Did this happen because of something in particular or was it a gradual transition?
I'm sure there were plenty of other sources of fatigue like XHTML Schemas etc...