g*****g 发帖数: 34805 | 4 Saying Lisp is better than XML is like saying J is better than Java because
it's more terse. There's a reason J never went anywhere, like Lisp,
Readability. Exactly where XML excels.
Most server side applications have the bottleneck on the DB. And you don't
see XML running there. It's always some binary protocol supporting SQL on
higher level. XML is verbose and slower to parse for application servers,
but the bottleneck is not there. It's the number of the requests, not the
size of the requests that makes the difference. Plus for many web
application servers, compression can be put on dynamically, make the
conciseness matter even less.
That being said, there's indeed a more concise alternative for XML, and it's
called JSON. But the mentioning of LISP is laughable to begin with.
Programming tools are an open market. Some people are stupid forever. All
people can be stupid for some time. But if one thinks all other people are
stupid for decades because they don't speak the language he loves, he's an
idiot.
【在 c*******9 的大作中提到】 : http://blogs.oreilly.com/digitalmedia/2004/12/lisp-is-better-th : 发明xml这些东西是为了给蠢人用的吗?
|