3 ms·
HTML is a subset of lisp with a different syntax. The rest of your point holds without lashing out at HTML. In different environments, different syntaxes show
by judk 12y ago
HTML is a subset of lisp with a different syntax. The rest of your point holds without lashing out at HTML.
In different environments, different syntaxes show strength. What happens if you misplace a ) vs misplacing an </tag> ?
- kazinator 12y agoWhat happens when you misplace a tag, and it's around 1995, is that browsers somehow parse it anyway without complaining, rendering the page anyway. Users then believe that this is the correct syntax: closing tags is optional, as is the order in which it is done. Twenty years later, you end up with a mess of a situation where every browser has to support not only its own historic buggy behaviors but those of other browsers. You cannot "misplace" a closing parenthesis, at best you can have too many of them not enough. Of course, you can enclose the wrong amount of material, but to see what is being enclosed, you just need parenthesis matching support in the editor. This is more common than XML tag matching support. E.g. http://stackoverflow.com/questions/500989/jump-to-matching-xml-tags-in-vim http://stackoverflow.com/questions/500989/jump-to-matching-x...