We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

TypeScript or What JavaScript Should Have Been

Formal Metadata

Title
TypeScript or What JavaScript Should Have Been
Alternative Title
TypeScript - What JavaScript Should Have Been From Day One
Title of Series
Number of Parts
133
Author
License
CC Attribution - NonCommercial - ShareAlike 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
JavaScript is well-known for its syntactic horrors. What happens when you "+" an object to an array? What happens if you do it the other way around? How do you encapsulate data inside a JavaScript class and how do you combine classes into modules? How do you inherit from a class? TypeScript is a new open-source language designed by Microsoft's Anders Hejlsberg (the father of C) which compiles to clean, readable JavaScript. TypeScript offers a variety of great features including constructor syntax, inheritance, interfaces, strong type checking for function parameters, and modules. In this session we will review some idiomatic TypeScript code and understand how it is translated to JavaScript.