[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: XML as a transition to s-expr
On Tue, 18 Dec 2001, Christopher Barber wrote:
> > : I don't think this is a very good idea. Indentation alone works ok with
> > : Python code, but it becomes much more problematic when text is involved.
> > : Imagine that the content of each cell is a paragraph...
> >
> It is not that indentation is incompatible with markup. It is merely that
> when you tie markup semantics soley to the indentation level, it becomes too
> easy to make mistakes that cannot easily be caught by your editor.
Seems to work ok in python and haskell....
Python even allows multiline strings in code.
-Alex-
___________________________________________________________________
S. Alexander Jacobson i2x Media
1-917-783-0889 voice 1-212-697-1427 fax