由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 为什么有了lisp还需要发明xml,htmp,xslt这些乱七八糟的东西?
相关主题
xml schema beginner question战国RIA
你们整天FP FP的,都FP个啥?[合集] 我用python
还是问一下过来人把,关于xmlclient往server发送不同类型数据怎么处理?
LISP is better than XML, but worse is better?Windows上 Python 2.6如何安装pyquery package?
Scala这次又被比下去了C++网络编程问题
macro is evilCORBA
how to decode these data from users' input at a web siteGoogle就差干掉HTML了吧
Questions about orbix有没有对xml文件进行类似sql直观查询的工具? (转载)
相关话题的讨论汇总
话题: lisp话题: xml话题: wouldn话题: data话题: protocol
进入Programming版参与讨论
1 (共1页)
c*******9
发帖数: 9032
1
这些评论比较有趣
http://lambda-the-ultimate.org/node/1222
Several problems with XML; IT industry on acid trip.
XML has several problems. It is slow to parse, it can result in big files,
it only describes what the data are and not how to handle them etc. But it
is a step in the right direction: we need to have a way to make programs
interact based on a common protocol. In other words, we have a problem (
interaction of programs), the correct approach (a common protocol) with a
wrong solution (xml).
Maybe if every computer came with LISP (or something similar), computers
could use that as a protocol instead of xml or any other protocol. If you
thing about it, there are lots of protocols invented to solve the same
problems (or the same nature of problems).
Take html for example; any HTML document can be represented with LISP lists.
In fact, if we had LISP data sent over the network, we would have less data
to send over (as a LISP program can be sent as a list of tokens); we wouldn
't have to invent javascript, dhtml or ajax, as LISP data are both code and
data at the same time. We wouldn't have to use SQL, since database schemas
could be represented by LISP lists. We wouldn't have to invent SOAP, since
LISP data could be used for sending requests over the network; we wouldn't
have to invent OpenDoc or document formats, as LISP lists are more than
sufficient to describe any format. We wouldn't have postscript, as
postscript is nothing more than a bunch of instructions ala xml/LISP. We
wouldn't have command line interpreters, since LISP can also play that role.
We wouldn't need COM or CORBA. And on top of that, development could be
bottom-to-top instead of top-to-bottom, since LISP development is usually
interactive.
And on top of all these things, we also have managers that are clueless in
technical details, and they insist to use XML because it will look good on
the company's resume...
1 (共1页)
进入Programming版参与讨论
相关主题
有没有对xml文件进行类似sql直观查询的工具? (转载)Scala这次又被比下去了
open source都快搞得大家没饭吃了macro is evil
各个编程语言平均工资(ZT)how to decode these data from users' input at a web site
现在还在“学”脚本语言的,都弱爆了Questions about orbix
xml schema beginner question战国RIA
你们整天FP FP的,都FP个啥?[合集] 我用python
还是问一下过来人把,关于xmlclient往server发送不同类型数据怎么处理?
LISP is better than XML, but worse is better?Windows上 Python 2.6如何安装pyquery package?
相关话题的讨论汇总
话题: lisp话题: xml话题: wouldn话题: data话题: protocol