Category Archives: instanceof

Clojure event sourcing

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 … Continue reading

Posted in Clojure, General, instanceof | 1 Comment

Jeene: An automatic partial evaluator for JavaScript

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 … Continue reading

Posted in code specialization, instanceof, JavaScript, partial evaluation | Tagged , , | 3 Comments

JavaScript parasitic inheritance, power constructors and instanceof.

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’ … Continue reading

Posted in instanceof, parasitic inheritance, power constructors | 5 Comments