Snippets of the day – Saturday, May 3, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Typescript + underscore: serializing objects This little example runs on node.js and assumes you have the typescript type-definition file in the types subdirectory. The example defines two classes one representing a undergrad course in computer science and another one representing possible students for the course. Few […]

Snippets of the day – Monday, February 24, 2014

Posted on Leave a commentPosted in Snippets

Here are some of the most recently published snippets! Typescript: passing a class member function as parameter to another function Typescript introduces the class construct and the concept of member functions. However if you try to pass a instance member function as parameter to another function the binding with the instance is lost. To solve […]