Which one is richer?
Neither one nor the other - compiled JavaScript makes all JavaScript available.
Which is better documented?
The documentation is probably not the right question. Who has more info / a strong community to help you when you get stuck? There are currently 141 ScriptSharp questions (with 48 followers) in questions and 623 TypeScript (with 328 followers).
TypeScript has a very clear language specification . I was looking for ScriptSharp documentation - someone needs to point out where it is ... I assume there is a subset of C # that you can use, and I would be interested to know what that subset is.
Is TypeScript Really Strongly Typed?
TypeScript is statically typed. It will check types at compile time (and the IDE will check development time). Errors will be generated for type violations, although you can also choose dynamic typing if you want.
Which should i use?
If you cannot think about writing code in anything other than C #, you should use ScriptSharp. In all other cases, I recommend TypeScript. Understanding JavaScript is useful, given how the language is so ubiquitous and TypeScript gives you quick access to ECMAScript 6 language features, so if you decide to use and use pure JavaScript, your TypeScript coding experience will be more valuable.
I am biased, in some way. I like TypeScript so much that I wrote a book on it. However, this project was preceded by TypeScript enthusiasm (not Dart, CoffeeScript, ScriptSharp).
Fenton
source share