- In this video, I'm gonna be briefly talking
about what TypeScript is, and then I'll be talking
about how you can get the most out of this course,
as well as what this course is actually going
to teach you about TypeScript.
So to get started just talking about what TypeScript is,
simply, TypeScript is just normal JavaScript
but with types added on top of it.
And these types are just a way
of you defining what your actual code structure looks like.
So what your variables are,
are they strings, numbers, objects, and so on.
And this information allows you to detect different bugs,
gives you good auto complete, and other nice features.
The really important thing to know about TypeScript
is that your browser can't actually run TypeScript.
That's because browsers can only run JavaScript.
So in order to get your browser to run TypeScript code,
what happens is TypeScript compiles all your TypeScript code
down to JavaScript.
That way you can actually run your code.
And all that this process does is remove all
of the type information that TypeScript uses.
This also means that TypeScript
is technically a super set of JavaScript.
All that means is that everything that is valid
in JavaScript is valid in TypeScript.
If you take a normal JavaScript file
and change it to a TypeScript file,
all of the code in that JavaScript's file
is 100% valid TypeScript.
You can actually use JavaScript inside your TypeScript code
and it's going to work just fine.
TypeScript just adds additional things on top of JavaScript,
which this course is going to cover in depth.
Now, kind of speaking about what this course covers,
there's two different types
of TypeScript developers out there.
There are the people that use TypeScript.
These are your normal developers
creating web applications every day.
And then there are people that write code in TypeScript.
And these may sound like the same thing
but the people that actually write code
in TypeScript are people that are specifically creating
like libraries for other developers to use
that are written in TypeScript.
These people that write in TypeScript,
these library developers need to understand TypeScript
at an incredibly in-depth level
and they need to know some of the most niche
and complex features of TypeScript in order
to write out the complex types needed by these libraries.
But in order to use TypeScript
in a normal web developer job, you don't actually need
to know that crazy level of in-depth TypeScript.
So this course is not going to teach you the skills you need
to know to build out libraries in TypeScript
that are gonna be used by millions of different developers.
Instead, I'm gonna be teaching you the skills you need
to actually land a job as a web developer.
And the reason for that is because that skillset
is much smaller, much easier to understand
and honestly, if I teach you everything there is to know
about TypeScript, odds are you're only going to use maybe 10
to 20% of it.
So I'll be wasting your time by teaching you
all those other concepts.
Now, with that said, don't think that this course
is gonna be super small or a push over.
It still has a lot of really important information in it
and these are the TypeScript skills you need, like I said,
to land a job as a TypeScript developer,
which is really the most important thing.
Now, in order to get the most out of this course,
I highly recommend going through each video rather slowly
and making sure you understand every concept and go
through different exercises and practice each
of the concepts as we go because everything
in this course builds upon the previous concepts.
So you need to have a good foundation before you can move on
to the later concepts in this course.
Also, after you're done with this course, it's structured
in a way that's really good for you to be able
to come back to and actually reference
when you're at your first job
or if you're just trying to build a project in TypeScript
and you're confused on how to do something,
this course is structured in a perfect way.
You can just come back,
find the video on the specific topic you want, watch it.
It'll be relatively quick
and that'll give you the skills you need.
So it's a really great reference point for you instead
of having to reference something like documentation.
Now, the last thing I wanna say about this course
is that you obviously need to have a good understanding
of JavaScript in order to actually learn and use TypeScript.
But the good news is is that learning TypeScript
is much easier than learning JavaScript.
So hopefully, you're able to go
through this course rather quickly
and rather easily compared
to the process of learning the entirety
of JavaScript because that is incredibly difficult.