JavaScript and DSL

xiaoxiao2021-03-06  14

Blog from Stefan Tilkov.  Recently I saw a lot of articles talk about the power of JavaScript, I don't know that the recent series of JavaScript-based network applications provides a powerful user interface. For example, Google's new service, Canyonbridge's CBConnect, and salesforce.com, which have great impact. Simon Wison refers to the application of JavaScript EVAL () and with with a lot of dazzling features. In fact, you have to add one: Function is completely "first-class citizens" in JavaScript, and Closure can also be applied in JavaScript. The so-called first citizen is said (from SICP):

Can be converted to the variable to be used as a parameter incoming function to be used as a return value of the function to be returned to the data structure can be included in the data structure.

Simon Wison mentioned TrimQuery, and the homework that I used to have a good job. We used LISP to implement similar query statements in the data structure in memory, including Join, Projection, and Selection.

转载请注明原文地址:https://www.9cbs.com/read-50265.html

New Post(0)