Hey guys, welcome to intellipaat and we are
back again with another interesting video on V/S topic. If we talk about web development, we are all
would not be a good choice. And because it lacks some of the features
and functionalities and due that most of the web developers felt a need of having something more versatile with advanced features
and better code structures, that is when typescript came into the picture.
Typescript. So guys before we proceed forward, do subscribe
to Intellipaat’s YouTube channel so that you never miss out on our any upcoming videos.
So, let’s have a look at the agenda for this video. First and foremost, we will discuss
which is better to use in terms of compilation, prototyping and data binding.
At last, what would be your expected salary if you are opting for either of them.
We will also have a short quiz at the end to recap what all you have learned from this
video. So don’t forget to put down your answers in the comment section below to know if you
are correct. And if you are looking for courses in the
trending technologies, do visit intellipaat.com. Alright guys so now without any further delays,
let’s get started. So guys, now let us get into the introductory
by using which you can create interactive web pages.
Notepad++) pages, and you can save the source file with .html or .js extension. The programs
gets executed as the html page gets loaded. Scripts are executed as plaintext and you
don�t need any special preparation or compilation to run these programs.
the small applications which consists of a few lines of code. What is TypeScript:
Typescript is an object-oriented programming language and it is open source.
classes, and interface. It contains types. That�s why people also refer this as modern
which you can create types, declare types and you must ensure that the type checking
happens during the type compilation process. You can also say that Typescript is a superset
if you want, you can add a little bit of typescript features and still it�ll be a valid Typescript.
Even if you are adding complete typescript features, still it�ll be valid in Typescript.
But, you can�t directly run the TypeScript on the browsers, as it needs a compiler to
extension. Now, I will move further to discuss about
another topic i.e. how did developers came up with the idea of TypeScript while having
developed, people were using it just as the client side programming language. But, later
developers got to know that it can also be used as a server side programming language.
Because of that developers were not able to fulfill the requirement of object oriented
I explained earlier. TypeScript supports JS API Documentation and
JS libraries as well. You can convert TypeScript Code into plain
that means you can write the source code as per the requirement if you want to add typing
TypeScript has object-oriented programming technique and better code structure as compared
also help you to extend the language beyond the standard decorators.
Biggest advantage of using TypeScript is it always highlights errors at compilation time
engine. TypeScript includes a feature that is strongly-typed
or supports static typing. And Static typing helps us for checking the type correctness
Additional benefit of using Typescript is it allows great tooling supports with IntelliSense
which provides active hints as the code is added.
features i.e. ES6 features. Sometimes, It may not be supported in your
target browser but TypeScript compiler can compile the .ts files into ES3,ES4 and ES5
as well. Frameworks like Angular2 also usage Typescript
as a programming language. Cons:
It does not support abstract classes. If you run the TypeScript application in the
free to do whatever you want with any object. It has strong Testing Workflow.
TypeScript can be used anywhere i.e. you can run the source code on any browser, devices
or in any OS(operating system). Remember, TypeScript is not specific to any Virtual-machine.
converted into TypeScript by changing the extension from .js to .ts.
the Typescript code. So,if the code is written in TypeScript then code gets compiled and
read and display the code. This whole process is known as Trans-piled. Now, let us take a quick look at some of the
language, the code’ error gets highlighted at runtime itself.
directly runs on the browser. 3. Prototyping: Typescript consists a feature
so developer should constantly specify the type of the variables, function parameters
5. Advanced OOp features:Typescript supports classes, inheritance, interfaces, generics
developer and working on projects or applications which consists of relatively lesser lines
expertise development team, then for applications which has complex and larger number of code,
Typescript is the most recommended here. 10. Finally, on aspects of salary you can
have a look if you are opting for any of these: Job Vacancy and Salary: According to Indeed.com, full-time Job vacancy
annum based on the experience and skill. Whereas, full-time Job vacancy for Typescript developer
is 3, 443 and the average salary varies from $90,000 to $1,25,000 per annum as per the
are using it and implementing new features in it time and again. Hence the job occupancy
object-oriented language, so you can use most of the advanced oop features like modules,
interface, generic, and other features like static typing and a lot more which are not
uses Typescript. In a nutshell, I�d like to add that, due
it widely, that is one of the reasons why it is a go to programming language when it
comes to web development right? Typescript on the other hand, typescript is a newcomer
and just entered the market like 7 years ago? Right? But ever since it came into the picture,
it is giving a tough competition to most of the scripting languages out there, due to
its advanced features. Therefore, one can confidently say that demand
Clever, Asana, Screen award and so on are using Typescript. Industry usage for Typescript
is growing rapidly day by day. So, guys we are heading towards the end of
If you know the answer then write it in the comment section below. Quiz
From the options mentioned below, do you know which option fits for features of Typescript? Option 1: Typescript can be compiled to all
Option 3: Typescript can be used for cross �browser development and is an open source
project as well. Option 4: All of the above.
Option 5: None of these. Solution: Option 4