Tuesday, July 29th, 2008
I've recently moved my blog to http://blog.higher-order.net. In this transition I used Wordpress' feature of importing blog content from my old blog: higher-order.blogspot.com. Unfortunately all the line-breaks from the pre-formatted JavaScript source code disappeared in the process, and so, I will have to insert it manually.
This whole process reminded me ...
Posted in General | No Comments »
Monday, July 21st, 2008
I've moved my blog to blog.higher-order.net -- welcome again ;-)
Posted in General | No Comments »
Friday, July 4th, 2008
Recall the object function that Douglas Crockford is promoting in his work on prototypal inheritance in JavaScript:
function object(p) {
function F(){}
F.prototype = p;
return new F();
}
The object function creates a new object which has the input object (p) as it's prototype.
On the comp.lang.javascript ...
Posted in JavaScript, closures, code specialization, partial evaluation, performance, sharing | No Comments »