Introducing TypeScriptBart J.F. De SmetSenior Software Development Engineerbartde@microsoft.com
Application scale JavaScript   development is hard.
TypeScript is a language for application    scale JavaScript development.
TypeScript is a typed superset of JavaScript    that compiles to plain JavaScript.
TypeScript is a typed superset of JavaScript     that compiles to plain JavaScript.Any browser. Any host. Any OS. Open Sou...
TypeScriptStarts with JavaScript   All JavaScript code is TypeScript code, simply copy and paste   All JavaScript librar...
TypeScript Type System
Type SystemFormalization of JavaScript’s types   Static representation of JavaScript’s dynamic type systemType inference ...
TypeScript classes and modules
Classes and modulesScalable application structuring   Classes, Modules, and Interfaces enable clear contracts between com...
Application Scale TypeScript
TypeScript previewCompiler   Open Source, written in TypeScriptTooling   Visual Studio language service, browser hosted ...
Introducing TypeScript
Introducing TypeScript
Upcoming SlideShare
Loading in …5
×

Introducing TypeScript

1,913 views

Published on

More info on techdays.be

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,913
On SlideShare
0
From Embeds
0
Number of Embeds
62
Actions
Shares
0
Downloads
57
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Introducing TypeScript

  1. 1. Introducing TypeScriptBart J.F. De SmetSenior Software Development Engineerbartde@microsoft.com
  2. 2. Application scale JavaScript development is hard.
  3. 3. TypeScript is a language for application scale JavaScript development.
  4. 4. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
  5. 5. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.Any browser. Any host. Any OS. Open Source.
  6. 6. TypeScriptStarts with JavaScript All JavaScript code is TypeScript code, simply copy and paste All JavaScript libraries work with TypeScriptOptional static types, classes, modules Enable scalable application development and excellent tooling Zero cost: Static types completely disappear at run-timeEnds with JavaScript Compiles to idiomatic JavaScript Runs in any browser or host, on any OS
  7. 7. TypeScript Type System
  8. 8. Type SystemFormalization of JavaScript’s types Static representation of JavaScript’s dynamic type systemType inference and structural typing In practice very few type annotations are necessaryWorks with existing JavaScript libraries Declaration files can be written and maintained separatelyNot “provably type safe” Types reflect intent but do not provide guarantees
  9. 9. TypeScript classes and modules
  10. 10. Classes and modulesScalable application structuring Classes, Modules, and Interfaces enable clear contracts between componentsAligned with emerging standards Class, Module, and Arrow Function syntax aligns with ECMAScript 6 proposalsSupports popular module systems CommonJS and AMD modules in any ECMAScript 3 compatible environment
  11. 11. Application Scale TypeScript
  12. 12. TypeScript previewCompiler Open Source, written in TypeScriptTooling Visual Studio language service, browser hosted playgroundLibraries Static typing of DOM, jQuery, node.js, WinRT, WinJS, …And More Lots of samples and formal Language Specification

×