Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Typescript, an introduction

Typescript, an introduction

Typescript lets you write JavaScript the way you really want to

Avatar for Martin W. Kirst

Martin W. Kirst

March 01, 2016
Tweet

More Decks by Martin W. Kirst

Other Decks in Technology

Transcript

  1. “... lets you write JavaScript the way you really want

    to” Martin W. Kirst 03/2016 @MeteoGroup
  2. Programming Languages… Should support solving a problem Are read by

    humans Should be expressive to be understandable Are translated by compiler to run on machines Serve a purpose/need … Photo by Crew on Unsplash
  3. Typescript • First release: 2012 • Developer: Microsoft • License:

    Apache 2.0 • Properties: 
 functional, imperative, object oriented, (prototypes and classes), optional static typing, duck-typing • Includes all syntactic sugar of ECMAScript 6 (‘2015)
  4. Optional type system Class based inheritance Sophisticated speci fi cation

    Awesome tooling … (many other languages fail on that points) Why TS took my Attention? Photo by Alex Motoc on Unsplash
  5. Demo-Time • Types • Classes • Inheritance • Ambient declarations

    • Modules • … http://www.typescriptlang.org/Playground
  6. Typescript & Tools • Grunt • IntelliJ • Visual Studio

    Code • De fi nitelyTyped.org • …