5 ms·
> That's feels a little like XML, just without attributes Attributes: (p :class 'center' (div ...)) > and untyped end-tags. The end tags are impl
by fao_ 6y ago
> That's feels a little like XML, just without attributes
Attributes:
(p :class 'center'
(div ...))
> and untyped end-tags.
The end tags are implied by the start tag. Why do you need an end tag? It's just another way to mess up. The following situation is not possible using S-Expressions:
...
<Start>
<Center>500</Center>
<Left>10</Left>
...
</End>
- ardy42 6y ago> The end tags are implied by the start tag. Why do you need an end tag? It's just another way to mess up. It helps with legibility and error-checking of hand-authored documents (at least in documents with varied tags). It doesn't look like fun to figure out where to insert something in a pages-long document with sections that like like ))))))))))))). It's not another way to mess up, it's another way to make sure you wrote what you meant.
- wglb 6y agoThis is a fallacy rooted in SGML. With a proper editor, finding where to insert or delete new stuff.
- fao_ 6y ago> It doesn't look like fun to figure out where to insert something in a pages-long document with sections that like like ))))))))))))). What kind of editor doesn't support jumping between braces? The version of Vi that shipped with 2BSD in 1979, supports that feature[0]. Both Gedit and Notepad++ highlight matching braces. Sure, if you're doing your editing in Notepad, you might have a problem, but pretty much every other editor either highlights, supports jumping between them, or both. [0]: Grep for `.iP "%" 15` in this document from the Minnie archive of the 2BSD source code: https://minnie.tuhs.org/cgi-bin/utree.pl?file=2BSD/doc/vi/vi.chars https://minnie.tuhs.org/cgi-bin/utree.pl?file=2BSD/doc/vi/vi...