Sjoerd Visscher
Company: W3 FutureAuthor Bio:
Tutorials written by Sjoerd Visscher:
Event Handlers and Callback Functions in JavaScript
In Higher Order Programming in Javascript I discussed the various ways of using functions as values. One particular trick in that document caught the attention of Dan Shappir, who pointed out to me: "your technique shows how JavaScript supported delegates all along, so this is not some great C#/.NET invention."
Saturday, 19th August 2006
Higher Order Programming in JavaScript
Higher Order Programming is the ability to use functions as values. So you can pass functions as arguments to other functions and functions can be the return value of other functions. This style of programming is mostly used in functional programming, but it can also be very useful in 'regular' object oriented programming.
Friday, 18th August 2006
