TypeScript

Sign in to queue

Description

JavaScript has grown from a webpage toy to being used in large-scale deployments both on the server and in the browser. This rapid growth has outpaced the growth of the language itself, which lacks features that allow teams to communicate requirements and build applications safely. This session will be a guided tour of TypeScript, showing how the language and toolset makes it easier to write cross-platform, large-scale JavaScript applications.

Tag:

TypeScript

Day:

1

Code:

3-576

Room:

Hall 1A

Embed

Download

The Discussion

  • User profile image
    davidi

    Anders is such an awesome developer and presenter! So fluid and personable.

  • User profile image
    joda

    Someone went to bed before encoding the video for us poor people not there in person - get the video up there already then! ;) :)

  • User profile image
    John

    TypeScript to the all browsers by default!

  • User profile image
    Dan123

    , joda wrote

    Someone went to bed before encoding the video for us poor people not there in person - get the video up there already then! ;) :)

     

    indeed... So slack!!!

  • User profile image
    KeradTheWise

    Excellent Session! Thanks to Anders for such an awesome delivery of both Typescript and this presentation.

  • User profile image
    relu

    Very clear presentation. Thanx

  • User profile image
    mmisu

    Anders is always on wave. Thanks.

  • User profile image
    Christophe​Bigot

    Great video, very promising piece of software. Thanks !

  • User profile image
    Pete

    @52:50: "Allow implicit any type": Is it possible to create a warning instead of an error? The reason is that once I turn off this switch, I have thousands of "errors" and I can't distinguish them from "real" errors. So, I have no way to add types step by step when I'm trying to convert my code to Typescript in a large project.

  • User profile image
    Charlie24

    AWESOME!

  • User profile image
    George_​Curelet_​Balan

    Great clear and easy to understand talk! My timestamped draft notes till minute 36:00 follow. For full notes, watch my blog http://ghcb.blogspot.ca for future post.

    636 ref Google's Closure compiler that allows adding type annotations in comments
    900 interface introduced, eg. Entity
    1100 easy refactoring via VS2013 of prop renaming due to local var name collision
    1225 interface is structural typing, specifying an obj's properties
    1430 optional prop name ends with ? But has type to be obeyed if prop is used
    1500 can have methods in an interface
    1640 javascript type system manifests at run time. Typescript reveals it at compilation.
    2040 generics use in sorting example
    2115 generics are used to flow types. "T extends Entity"
    2345 callback use in generics sort example
    2450 lambda expression use, not yet in Ecmascript 6
    2610 Typescript is a preview of Ecmascript 6 compiled to code that can run on Ecmascript 3 browsers
    2740 ref type declaration file
    2850 declaration file can be written for any Javascript framework. Gain the power of types
    2910 ref https://github.com/borisyankov/DefinitelyTyped site repository of type declarations
    3030 writing classes is same with future Ecmascript 6 class
    3400 class methods translation into Javascript
    3425 private properties support has no JS equivalent but may be used for future Ecmascript 6 support of hidden properties
    3550 implicit definition of public properties via their declaration in constructor's signature

  • User profile image
    George_​Curelet_​Balan

    Timestamped draft notes of the entire talk can be found in my blog post http://ghcb.blogspot.ca/2014/04/draft-notes-on-latest-features-of.html

  • User profile image
    Believe2014

    Why cant TypeScript have type constraint following C# convention?

    https://www.dropbox.com/s/li5soowfp15jo6z/TypeScript_TypeConstraintUsingExtendsKeyword_SoJavaLike.JPG

Add Your 2 Cents