Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

TypeScript: What to do with types in JavaScript

JavaScript is the assembly language of the web. There are languages that transcompile to JavaScript such as TypeScript, CoffeScript and many more. This is introduction to TypeScript with comparison CoffeScript and plain old JavaScript. It shows how to address some JavaScript specific challenges.

5.
Folks rail against static typing but they don't
complain about JSLint. TypeScript offers
optional type annotations - it's hardly a
perversion of JavaScript.
Why does TypeScript have to be the answer to anything?
by Scott Hanselman
http://bit.ly/U1dHQR

19.
Of course, all valid Javascript is valid
Typescript so you can just change the file
extension and be compiling it but if you
want all the benefits you will want to take
advantage of some type annotations and
that's the manual part.
Typescript - a real world story of adoption in TFS
by Brian Harry
http://bit.ly/SkGe2y

20.
COFFESCRIPT CLOSURE
CoffeScript has more code sugar to be fair.
Check out if interested:
CoffeScript the Good Parts
by Bruno Dević
http://slides.com/brunodevic/coffeescript-the-good-parts

24.
Microsoft's TypeScript may be the best of
the many JavaScript front ends. It seems to
generate the most attractive code.
post on Google+
by Douglas Crockford
bit.ly/SnJzw5

25.
And I think it should take pressure off of
the ECMAScript Standard for new features
like type declarations and classes. Anders
has shown that these can be provided nicely
by a preprocessor, so there is no need to
change the underlying language.
same post on Google+
by Douglas Crockford
bit.ly/SnJzw5

26.
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.
same post on Google+
by Douglas Crockford
bit.ly/SnJzw5

27.
TypeScript feature that suprised me the most,
the quality of the JavaScript generated by the
TypeScript transcompiler and the transcompiler
itself as a tool to learn JavaScript best
practices.
Learn TypeScript to Improve Your JavaScript
by Jaime González García
http://bit.ly/1ojyhVJ