Sunday, February 22, 2009
Crossing borders: JavaScript's language features
Crossing borders: JavaScript's language features: "In this article, I'll explore the features of JavaScript that make it so wonderfully attractive:
* Higher-order functions. A high-order function is one that either takes functions as arguments or returns a function. This feature lets JavaScript programmers manipulate functions in ways that the Java language can't.
* Dynamic typing. By delaying binding, JavaScript can be more concise and flexible.
* A flexible object model. JavaScript's object model uses a relatively uncommon approach to inheritance -- called prototypes -- instead of the Java language's more common class-based object model."
* Higher-order functions. A high-order function is one that either takes functions as arguments or returns a function. This feature lets JavaScript programmers manipulate functions in ways that the Java language can't.
* Dynamic typing. By delaying binding, JavaScript can be more concise and flexible.
* A flexible object model. JavaScript's object model uses a relatively uncommon approach to inheritance -- called prototypes -- instead of the Java language's more common class-based object model."
Subscribe to Posts [Atom]