Microsoft Samurai
By @ErikRalston
Challenges with JavaScript
Typescript Syntax
Writing code in an editor
JavaScript developers looking to solve some frustrations
struct Class { size_t size; void * (* ctor) (void * self, va_list * app); void * (* dtor) (void * self); void * (* clone) (const void * self); int (* differ) (const void * self, const void * b); }; struct String { const void * class; /* must be first */ char * text; };
- Axel-Tobias Schreiner, 1993
var ExampleClass = (function () { function ExampleClass() { } ExampleClass.prototype.exampleFunction = function () { // This is hard to read this.exampleClassVariable = "Hello World"; }; return ExampleClass; })(); var ex = new ExampleClass();
Made by Anders Heljsberg, the Creator of C#
Compiles into ECMAScript 6, 5, or 3
Supports back to IE7
Typescript Playground
By Erik Ralston
An introduction to Typescript, a typed superset of JavaScript for object-oriented client-side web apps
Co-Founder at Fuse Accelerator