Why Learn TypeScript (vs JavaScript)?

  Рет қаралды 4,905

Kodaps Academy

Kodaps Academy

Күн бұрын

Are you wondering what the fuss is about TypeScript? And whether it is worth investing time and energy? Or whether to use it in your project?
If so you’ve come to the right place.
Allow me to tell you the story of how I was frustrated trying to learn JavaScript. I tried and failed. Coming into an existing codebase, trying to follow what was going on across lines and lines of poorly documented code… it was frustrating. But in the end, I was able to learn JavaScript… by first learning TypeScript. And I found TypeScript way more fun to use than JavaScript.
And in a way, that’s strange.
Because TypeScript, in a sense, is a load of constraints. It limits what you can do. It forces you to follow rules that are added on top of JavaScript.
And somehow, that makes TypeScript fun. Let's see how.
#typescript #javascript #development

Пікірлер: 17
@jjrise
@jjrise 2 жыл бұрын
I'm beyond confused why this channel has only 6xx subscribers. Fantastic content, great production value, and interesting topics. One thing that would be nice to see is maybe more examples (code snippets, etc). Thanks for the great content - you have a new subscriber today!
@KodapsAcademy
@KodapsAcademy 2 жыл бұрын
Thanks for your encouragement (and for subscribing !). Thankfully the 600 or so subscriber mark is .. in the past :)
@ShaneGrey
@ShaneGrey Жыл бұрын
I had the same reaction now that there are almost 3k subs. Lots of great content here. I expect it will at some point grow quickly.
@green_universe
@green_universe 2 жыл бұрын
I am your 540th subscriber. Great content. Happy to be onboard.
@KodapsAcademy
@KodapsAcademy 2 жыл бұрын
Awesome, and welcome aboard!
@SamuelKarani
@SamuelKarani Жыл бұрын
I am so glad you mention the real reason - developer experience. I've don't necessarily think magically Typescript reduces the amount of bugs (outside typing bugs of course)
@Dharmic_developer
@Dharmic_developer Жыл бұрын
Your script writing is amazing... it goes deep in the mind about the topic Lots of love from india
@martynclarke8400
@martynclarke8400 Жыл бұрын
Nice video! I put a lot of time effort and frustration into understanding JavaScript and its dynamic types, but as a result I feel like I have a much deeper understanding for the code I write as I always have that consideration. Sure I am new-ish, and I am not dealing with a high degree of complexity, but I cant help but feel like not understanding whats going on behind the scenes with my code would have left me with a far more shallow understanding. I have watched a few of your videos though and they have been highly informative. Subbed!
@hsider
@hsider Жыл бұрын
It's became necessary in any JavaScript project, as you said it will force you to manage the strange behavior of JS variables in your code editor. This is supposed to be of type X, here you pass a value of type Y, take this into account, so it won't compile until you do that. Nice video 👌
@everythingisfine9988
@everythingisfine9988 2 жыл бұрын
Hand rolling TS isn't necessary anymore. All you need is this npm package and JS gain's type annotation effortlessly: "npm i derive-type"
@4115steve
@4115steve Жыл бұрын
This was the video I needed, thanks.
@mizxam8420
@mizxam8420 Жыл бұрын
2011th sub, nice content!
@kuroisan2698
@kuroisan2698 Жыл бұрын
once you learn typescript you won't think about using JS anymore
@kvelez
@kvelez Жыл бұрын
Good video.
@KodapsAcademy
@KodapsAcademy Жыл бұрын
Thanks :)
@techinsights9729
@techinsights9729 2 жыл бұрын
I'm the only one watching!!!
@KodapsAcademy
@KodapsAcademy 2 жыл бұрын
Nahhh :)
Is NextJS the future of React?
6:44
Kodaps Academy
Рет қаралды 33 М.
GraphQL vs REST: what you need to know
10:11
Kodaps Academy
Рет қаралды 17 М.
Worst flight ever
00:55
Adam W
Рет қаралды 22 МЛН
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 103 МЛН
LIFEHACK😳 Rate our backpacks 1-10 😜🔥🎒
00:13
Diana Belitskay
Рет қаралды 3,7 МЛН
Typescript for Javascript Developers in 15min
15:06
CoderOne
Рет қаралды 44 М.
#FiveThings Why TypeScript is for You
9:18
Microsoft Developer
Рет қаралды 15 М.
Why learn Zig?
6:44
Kodaps Academy
Рет қаралды 12 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Why I'm a Better Developer than You
9:17
Ben Awad
Рет қаралды 321 М.
TypeScript vs Javascript - Which is better for learning to code?
5:39
JavaScript vs Python: Which do you NEED?
7:38
Kodaps Academy
Рет қаралды 998
React vs HTMX: Why we chose HTMX?
5:01
Kodaps Academy
Рет қаралды 10 М.
Why learn LUA?
6:24
Kodaps Academy
Рет қаралды 11 М.
Worst flight ever
00:55
Adam W
Рет қаралды 22 МЛН