If only I were

Building Great Software

Getting started with TypeScript 1.0

with one comment

Yesterday evening I did an Introduction to TypeScript at CRineta. I agreed to do it on short notice, so I scrambled to pull the talk together over the weekend. Much of this version of the talk was based on Anders Hejlsberg’s Build 2014 talk. And of course I used the resources from typescriptlang.org along with TypeScript in Visual Studio. I’ve had a small amount of TypeScript code in production for about 6 months, but I’m going to start converting more now that 1.0 is released.

What is TypeScript?

Typescript implements a set of language constructs that gives a better compile time experience, it allows you to manage large JavaScript applications better and it provides optional static types. Some of these features are classes, modules, interfaces, enumerations, generics and optional static types.

“TypeScript is a free and open source programming language developed by Microsoft. It is a strict superset of JavaScript, and adds optional static typing and class-based object-oriented programming to the language.” – Wikipedia

“TypeScript is a typed superset of JavaScript that compiles back to plain JavaScript” – Anders Hejlsberg

“TypeScript is preview of EcmaScript 6 with a downlevel story and with static typing on top” – Anders Hejlsberg

“[TypeScript is a] static formalization of JavaScript’s dynamic run-time type system” – Anders Hejlsberg

Tooling

If you are on Visual Studio 2012 you can install TypeScript 1.0. If you are on Visual Studio 2013 then install Update 2. If you are on an older version of Visual Studio, then it is time to upgrade :)

Learning

The TypeScript Playground is a great place to start testing TypeScript.

Their tutorial is of limited value, but the Handbook gives you a compact view of the language features and is very useful.

And of the course the language spec is available as well.

Videos

Anders Hejlsberg at Build 2014 – http://channel9.msdn.com/Events/Build/2014/3-576

Luke Hoban at Fluent Conf 2013 – https://www.youtube.com/watch?v=5UPMqtrbw7E

Advertisements

Written by Chris Sutton

April 8, 2014 at 2:26 pm

Posted in Uncategorized

One Response

Subscribe to comments with RSS.

  1. Persze ezt nem a kiu00e1llu00edtu00e1sru00f3l u00edrtam, hanem a Fu0151vu00e1rosi Ku00f6nyvtu00e1r “felfedezu0151ju00e9ru0151l”. Come on http://tropaadet.dk/kristinaparker1134081845

    kristinaparker1134

    April 8, 2016 at 5:52 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: