3 ms·
eh "you must know the rules to break them" I guess. It's not like JavaScript, the DOM API, and HTML/SGML/XML don't have a very long history of coexistence, inc
by tannhaeuser 6y ago
eh "you must know the rules to break them" I guess.
It's not like JavaScript, the DOM API, and HTML/SGML/XML don't have a very long history of coexistence, including a native syntax for XML-in-JavaScript (E4X) that was however endorsed by Mozilla only, and since abandoned. JSX stands for "JavaScript XML" btw.
> I have a theory that a grave mistake was made in 1995 - the decision not to have a neat, succinct and declarative way of representing html elements in javascript.
I'd have to say this theory is really poorly recherched, then :)