top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What are the Disadvantages of TypeScript?

+4 votes
58 views
What are the Disadvantages of TypeScript?
posted Nov 30, 2016 by Jdk

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes
 
Best answer

everything comes at a price, and TypeScript is no exception. Here are some things that could be considered drawbacks or hurdles compared to JavaScript:

1-In order to get the most out of the TypeScript, developers will need to use the type annotations everywhere in their code, which might at times be cumbersome (or perceived as such coming from a dynamic language background). Some effort might be required to write a strongly-typed version of the JavaScript code.

2-TypeScript’s type system, while being more flexible than what is commonly found in mainstream strongly-typed languages, is still not as flexible as JavaScript itself (which to some extent is the point of TypeScript – imposing a strong typing system to make it easier to reason about JavaScript code which is inherently dynamic). Certain commonly used JavaScript patterns, like mixins, can be difficult or clunky to use in TypeScript, though the TS team is working on making those smoother with each release.

answer Dec 2, 2016 by Vrije Mani Upadhyay
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...