[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: XML as a transition to s-expr

> Quoth Christopher Barber on Tuesday, 18 December:
> :
> : 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...
> That's enough explanation for why s-exprs don't make good mark-up:
> s-exprs depend on indentation for human readability.

You missed the point.

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.

- Christopher