Video: Fake operator overloading
On 2012-05-31, I held the talk “Fake operator overloading” at Fluent Conference, in San Francisco. The video is now publicly available (go there for a larger version of the video).
Related resources:
The actual beginning of the talk (a few seconds where I say the talk’s title) is missing. But my mic test is there! ;-)
Abstract:
This presentation explains how to achieve a limited form of operator overloading in JavaScript. You’ll learn tricks that allow you to write code like this:
var p = new Point();
p._ = new Point(1, 2) + new Point(3, 4) + new Point(5, 6);
p._ = new Point(1, 2) * new Point(3, 4) * new Point(5, 6);
Related resources:
Comments
Post a Comment