I'm mostly hook on how it can be use to parse through the document object model. One could utilize the hold ECMAScript(LiveScript) language to navigate through the DOM. Most of the feature could be taking out, such as having angel bracket in in EMCAScript source code. Me; if taking out or not is not an issues, Ill mostly be using it via ESON(JSON) syntax to parse my way through the DOM. This to me would make the code much easier to read and maintain. Plus this allow all the methods of the objects(Array, Number, Object, RegExp, String, Function, Etc) to be use on the representation of the reference object to the DOM itself. Allowing for easier access to the element and control over them as well. The DOM api is a api that have been alter and change to fit programmer needs. The one language(ECMAScript(LiveScript)) which it was partially made for, can have it's on DOM parser api built via ECMAScript's ESON(JSON) syntax of accessing and manipulation. I'm just zeal about the beauty of it, and how enjoyable it would be typing it. E-S4L
|