Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Following the recent release by Microsoft of TypeScript I was wondering if this is something that should be considered for a experienced WinForm and XAML developer looking to get into more web development.

From reviewing a number of sites and videos online it appears that the type system for TypeScript makes more sense to me as a thick client developer than the dynamic type system in Javascript.

I understand that Typescript compiles down to JavaScript but it appears that the learning curve is shallower due to the current tooling provided by Microsoft.

What are your thoughts?

share|improve this question

closed as not constructive by Walter, Oded, Matthieu, jfrankcarr, ChrisF Oct 5 '12 at 15:01

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 9 down vote accepted

Those aren't going to be the two options for a while. If you use TypeScript, you're going to need to know JavaScript anyway because, for the foreseeable future, there isn't going to be a tool for debugging TypeScript in the form it was written.

So it's JavaScript or TypeScript AND JavaScript.

So I suggest learning JavaScript first while keeping an eye on what TypeScript offers. While you're at it, take a look at what jQuery and CoffeeScript offer. The three packages solve different problems so, when you run into one of those problems, you'll know which product to learn next.

share|improve this answer
From what I've read on the subject so far, this sounds like good advice to me. – MetalMikester Oct 5 '12 at 13:49
damn it, got to it before me :) +1 – Darknight Oct 5 '12 at 13:50
I appreciate your comments pdr. Although I do find JavaScript difficult to learn coming from the strongly typed .Net platform I was thinking that TypeScript may provide a middle ground and giving that it compiles into JaveScript would give me a better start with Javascript, jQuery and all the other libraries – Phil Murray Oct 5 '12 at 14:23
@PhilMurray: Understand that sentiment, but I think you'll find it easier if you get to grips with the prototype-based nature of JavaScript, because TypeScript doesn't really do away with that. Worse, it might appear to and that will be very confusing. – pdr Oct 5 '12 at 14:27
you can debug TypeScript in the form it was written using source maps – Răzvan Panda Nov 9 '12 at 11:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.