Pagsasama-sama lamang
0:02
S… Speaker 2 (10_what_is_type_script)
No worries,
0:02
S… Speaker 1 (10_what_is_type_script)
we're about to get started soon,
0:04
S… Speaker 1 (10_what_is_type_script)
but I did mention that we're going to use TypeScript in this course.
0:07
S… Speaker 1 (10_what_is_type_script)
We already did use it when we changed the first app.
0:10
S… Speaker 1 (10_what_is_type_script)
What is TypeScript?
0:12
S… Speaker 1 (10_what_is_type_script)
TypeScript really is just a superset to JavaScript.
0:15
S… Speaker 1 (10_what_is_type_script)
It offers more features than vanilla JavaScript,
0:18
S… Speaker 1 (10_what_is_type_script)
like classes,
0:19
S… Speaker 1 (10_what_is_type_script)
interfaces,
0:20
S… Speaker 1 (10_what_is_type_script)
and very important,
0:21
S… Speaker 1 (10_what_is_type_script)
which gives it the name,
0:22
S… Speaker 1 (10_what_is_type_script)
types,
0:23
S… Speaker 1 (10_what_is_type_script)
strong typing.
0:24
S… Speaker 1 (10_what_is_type_script)
So you define in TypeScript if a certain variable is a number,
0:28
S… Speaker 1 (10_what_is_type_script)
a string, or something else.
0:29
S… Speaker 1 (10_what_is_type_script)
You don't do this in vanilla JavaScript.
0:31
S… Speaker 1 (10_what_is_type_script)
There you have dynamic typing.
0:33
S… Speaker 1 (10_what_is_type_script)
You can have a string variable,
0:35
S… Speaker 1 (10_what_is_type_script)
and then you assign a number,
0:36
S… Speaker 1 (10_what_is_type_script)
and that's totally fine.
0:38
S… Speaker 1 (10_what_is_type_script)
That won't work in TypeScript,
0:39
S… Speaker 1 (10_what_is_type_script)
it will give you an error,
0:40
S… Speaker 1 (10_what_is_type_script)
and therefore it allows you to write much more robust code,
0:44
S… Speaker 1 (10_what_is_type_script)
which gets checked at the time you write it,
0:46
S… Speaker 1 (10_what_is_type_script)
and not just at the time you run it.
0:48
S… Speaker 1 (10_what_is_type_script)
A great enhancement.
0:49
S… Speaker 1 (10_what_is_type_script)
However,
0:50
S… Speaker 1 (10_what_is_type_script)
TypeScript doesn't run in the browser,
0:53
S… Speaker 1 (10_what_is_type_script)
so it is compiled to JavaScript in the end.
0:55
S… Speaker 1 (10_what_is_type_script)
And this compilation is handled by the CLI,
0:57
S… Speaker 1 (10_what_is_type_script)
one of the reasons why we need the CLI,
1:00
S… Speaker 1 (10_what_is_type_script)
why we need a project management tool like the CLI.
1:03
S… Speaker 1 (10_what_is_type_script)
Now this compilation is really fast and therefore in the end in the browser JavaScript
1:08
S… Speaker 1 (10_what_is_type_script)
is going to run.
1:09
S… Speaker 1 (10_what_is_type_script)
We're not writing the Angular app in JavaScript though because whilst
1:13
S… Speaker 1 (10_what_is_type_script)
technically possible,
1:14
S… Speaker 1 (10_what_is_type_script)
that won't be much fun.
1:16
S… Speaker 1 (10_what_is_type_script)
A lot of the features really only exist in TypeScript and
1:20
S… Speaker 1 (10_what_is_type_script)
Angular is meant to be used together with TypeScript.
1:23
S… Speaker 1 (10_what_is_type_script)
That being said,
1:24
S… Speaker 1 (10_what_is_type_script)
you don't have to learn TypeScript for this course.
1:26
S… Speaker 1 (10_what_is_type_script)
You should be able to pick it up along the way.
1:29
S… Speaker 1 (10_what_is_type_script)
And I do have a whole section giving you a brief introduction into
1:33
S… Speaker 1 (10_what_is_type_script)
TypeScript at the end of this course.
1:35
S… Speaker 1 (10_what_is_type_script)
So feel free to jump ahead there,
1:37
S… Speaker 1 (10_what_is_type_script)
go through that section right now if you feel like you need that or throughout the course,
1:41
S… Speaker 1 (10_what_is_type_script)
if you feel like you need some deeper dive into some of the features you see
1:45
S… Speaker 1 (10_what_is_type_script)
there and you should be fine.
1:46
S… Speaker 1 (10_what_is_type_script)
You should be able to follow along just fine.
1:49
S… Speaker 1 (10_what_is_type_script)
Of course, if you feel like it,
1:50
S… Speaker 1 (10_what_is_type_script)
feel free to pick up another course or tutorial focused on TypeScript
1:54
S… Speaker 1 (10_what_is_type_script)
so that you have something to look at if something is unclear in this course.
1:58
S… Speaker 1 (10_what_is_type_script)
Generally though,
1:59
S… Speaker 1 (10_what_is_type_script)
TypeScript is an addition to JavaScript,
2:02
S… Speaker 1 (10_what_is_type_script)
not a complete replacement,
2:03
S… Speaker 1 (10_what_is_type_script)
so a lot of the commands will look really familiar.

Ang transcript na ito ay ginawa ng AI (automatic speech recognition). Maaaring may mga pagkakamali — suriin ang orihinal na audio para sa kritikal na paggamit. Patakaran ng AI

❤️ Pag-ibig STT.ai? Sabihin sa iyong mga kaibigan!
Buod
I-click ang Summarize upang makabuo ng isang AI buod ng transcript na ito.
Pagbubuod...
Magtanong sa AI Tungkol sa Transcript na Ito
Magtanong ng anumang bagay tungkol sa transcript na ito - ang AI ay makahanap ng mga kaugnay na mga seksyon at sagot.