Fake operator overloading in JavaScript from com java fake Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
Description: Slides: https://speakerdeck.com/rauschma/fake-operator-overloading-in-javascriptnBlog post: http://www.2ality.com/2011/12/fake-operator-overloading.htmlnnAbstract:nnnThis 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:nnvar p = new Point();np._ = new Point(1, 2) + new Point(3, 4) + new Point(5, 6);np._ = new Point(1, 2) * new Point(3, 4) * new Point(5, 6);
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)