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

TypeScript

Jaime
October 01, 2013

 TypeScript

A short introduction to TypeScript (presented in Dev Friday at Medius)

Jaime

October 01, 2013
Tweet

More Decks by Jaime

Other Decks in Programming

Transcript

  1. “Microsoft's TypeScript may be the best of the many JavaScript

    front ends. It seems to generate the most attractive code. “ Douglas Crockford – visionary and guru
  2. Douglas Crockford – dynamic type hippie “I think that JavaScript's

    loose typing is one of its best features and that type checking is way overrated. TypeScript adds sweetness, but at a price. It is not a price I am willing to pay.”
  3. - Application-scale JavaScript - Modules and classes - Strongly typed

    - Lots of syntactic sugar - Superset of JavaScript What is TypeScript?
  4. Demo “Hmm… … what if … We change some our

    *.js files to *.ts files…?”
  5. - Application-scale JavaScript - Modules and classes - Strongly typed

    - Lots of syntactic sugar - Superset of JavaScript Tooling Where to get it?
  6. “Hmm… … what if … We change some our *.js

    files to *.ts files…?” Where to get it? Full support for TypeScript preview and compilation. When a TypeScript file (.ts) is saved in Visual Studio, Web Essentials will compile it automatically and generate a preview. Regions, source maps, minification…