13. From JavaScript to TypeScript

Download this episode

Download Video

Description

Updated to VS Code 1.0!!!

Today, JavaScript is so popular and it's possible to find lots of projects that contain hundreds thousands lines of JavaScript code. Using JavaScript you can create web sites, Windows applications and server side services. But in case of really large projects it's not easy to support the existing code. Compared to C#, C++ and Java, JavaScript lacks static typing, classes and interfaces that don't allow common IDEs to provide richer environment.

That's why many developers prefer to use supersets of JavaScript like TypeScript, CoffeeScript or Dart (not superset but supports compilation to JS).

I would recommend to use TypeScript which is "native" for Visual Studio Code and is supported by Visual Studio, Eclipse, WebStorm and so on. As I mentioned earlier, TypeScript is a superset of JavaScript that brings classes, generics, interfaces and allows to combine TypeScript code and JavaScript code together. Thanks to TypeScript compiler you can easily compile TypeScript code to JavaScript, so you can use it anywhere you can use JavaScript.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.