Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Ted Leung on the air: Open Source, Java, Python, and ...
Fri, 03 Oct 2003
Mark Nottingham throws down the XML editor gauntlet
All I can say is "I'm with Mark", except maybe for the part about Emacs...
[00:44] |
[computers/programming/xml] |
# |
TB |
F |
G |
0 Comments |
Too much complexity
[via Lambda the Ultimate]
I'm an admirer of Erik Meijer's work on unifying tables, objects, and documents so his recommendation of Dave Thomas'
article got my attention. Unfortunately, Thomas is just restating the problem, not offering a solution.
One thing that is important is that he is talking about "a computationally complete end user programming language". I think they key in that phrase is complete. Quite frequently language designers focus on minimality (my own bias towards Lisp and towers of macros is in this vein). Two of the three paradigms in Thomas' (and Meijer's) article are relational database and XML, which aren't really treated as basic types in most language designs. This usually means that they get pushed out to libraries.
Languages need a way to assimilate these paradigms in a way that makes them look seamless. XDuce is cited in Thomas' paper. If you look at the XDuce examples, you'll see that the syntax for dealing with XML looks like the syntax for dicts in Python. This is certainly more straightforward than most languages that I've seen, although not quite as nice as E4X. There are lots of examples of Python libraries for XML that look like XDuce, but none that look like E4X. If you wanted to support E4X style syntax for XML, and an analogous syntax for SQL queries and tables, you'd have to hack Python.
What to do?
[00:38] |
[computers/programming] |
# |
TB |
F |
G |
1 Comments |