TypeScript And JavaScript

There is no question of doubt that TypeScript has grown very rapidly throughout the last few years, and according to the State of JavaScript survey, 89 percent of TypeScript users would use it again, and 66 percent of survey respondents either use TypeScript or are interested in using TypeScript (down slightly from 71 percent last year).

But while interest is undoubtedly keen and usage seems to be multiplying, experience with TypeScript is not yet in strong demand on the job market. Only ~7 percent of JavaScript job openings mention TypeScript in the job description. This is probably undercounting TypeScript jobs a little because hiring managers expects JavaScript developers to be capable of picking up TypeScript without much trouble, so there’s a chance they won’t bother to mention TypeScript in their job postings.

I stand by my assessment that the TypeScript language may have a low or even negative return on investment. It could hurt rather than improve your productivity. If you’re already using excellent bug prevention measures such as code review, TDD, and design review, coding in TypeScript is unlikely to provide for TypeScript, and you certainly should not be afraid of it, or turn down a job because they use TypeScript instead of JavaScript. Since, TypeScript is a superset of JavaScript, onboarding from JavaScript to TypeScript is not as challenging as learning an entirely different language.

You probably don’t need to learn the TypeScript language to get an edge on the job market competition in 2020, but the TypeScript engine is quite useful, even for standard JavaScript.

I use it every day to provide IntelliSense for standard JavaScript using Visual Studio Code. That IntelliSense can even be enhanced using JSDoc (which the TypeScript engine understands and interprets as it would interpret type annotations) or external d.ts files, and VS Code will automatically acquire TypeScript definitions for the modules you use.

Note: I’ve enjoyed similar benefits for several years using TernJS and Atom, but that combination lacks the maintenance and community support of the TypeScript engine + VS Code.

If you haven’t tried Visual Studio Code yet, you may want to start there. BTW, VS Code dominates the JavaScript IDE market among the State of JS respondents, with 57 percent market share (followed by WebStorm, with 14 percent market share).

Recent Articles

The best web hosting for 2021

Compare web hosting services' price, features, performance and support to choose which is best for you or your business.

Is Demand For Website Dying, 2020?

Every year or two, “experts” come out of hiding and spout off about the death of web design. Then, after stirring things...

Web Development With Python, 2020

Are you looking for a career in Backend Development? To build complete applications beyond the user-interface companies need rockstar back-end developers.

Best Free IPhone Apps, 2020

The best free iPhone apps can come in handy in this era of costly smartphones. Even the cheapest iPhone Apple currently sells...

JavaScript To Power Major Web Applications, 2020

IntroductionThere’s no doubt that front-end development will be one of the hottest disciplines in tech in 2020 and beyond.It was previously sufficient...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Stay on op - Ge the daily news in your inbox