Archive for the ‘instanceof’ Category
Sunday, February 22nd, 2009
Event sourcing:
Event Sourcing ensures that all changes to application state are stored as a sequence of events. Not just can we query these events, we can also use the event log to reconstruct past states, and as a foundation to automatically adjust the state to cope with retroactive changes.
I recently ...
Posted in Clojure, General, instanceof | 1 Comment »
Sunday, September 14th, 2008
The purpose of this posting is to show that is is possible to create an online partial evaluator for JavaScript, written also in JavaScript. As far as I know, this has been not been done before. This post is the first in a series describing the inner workings of Jeene.
A ...
Posted in JavaScript, code specialization, instanceof, partial evaluation | 3 Comments »
Thursday, February 21st, 2008
Abstract. This posting shows how one can make Crockford's power constructor functions play nicely with the JavaScript keyword 'instanceof.'
[update: March 18, 2008. I asked Crockford what he thinks about this pattern, and he actually discourages the use of 'instanceof' -- instead, he prefers to "... rely instead on good design ...
Posted in instanceof, parasitic inheritance, power constructors | 5 Comments »