Why you should choose TypeScript in 2021

preview_player
Показать описание
Today, we’ll go over the benefits of using Typescript and give 6 reasons why you should choose to use it in your applications. Typescript is a superset of JavaScript that adds static typing and compiles to plain JavaScript. With 87% of developers interested in using or learn TypeScript in their next project, Typescript has quickly become a popular choice in building modern applications.

✨ SOCIAL ✨

⚡ RESOURCES ⚡

⭐ TIMESTAMPS ⭐
0:00 - Intro
0:37 - Readability
1:23 - Less Dev Time
2:03 - Refactoring
3:00 - Fewer Bugs
3:32 - Less Code
4:08 - Pull Requests / DevOps
4:35 - Drawbacks
5:20 - Conclusion
Рекомендации по теме
Комментарии
Автор

All of a sudden typescript became popular overnight. It's now a somewhat requirement for dev.

But I could see the reasons, you stated them well. Great video, thanks for this.

TechReagan
Автор

5:21 No, I didn't. I'm too afraid with this superset up till now. This is why I watch this video, cause I took an interest to learn TypeScript.

admiralrodney
Автор

Hey, I also have a programming channel, I upload daily but I only have 33 subscribers. Do you have any advice?

neelbanga
Автор

In the very first example, I fail to see how it is more readable. In contrast, it's a lot more to read through and separate, especially by the time I've finished going over the parameters and run into the ": boolean" and have to do the little context switch. I think if it was important to recall that my user was a Person, I might have named the variable 'person' or 'userPerson', but either way this additional information did not make the signature easier to read. And 'IResource' did not add *readability* to 'resource'. It did add something else but didn't make it easier to read
I paused and wrote this as soon as it got to that part

solvedfyi
Автор

Hey, great video! Thank you. Btw, does renaming with F2 works out of the box for you? I have a project with TS on a mac and I can't see anything like this.

shutterradio
Автор

Every time I watcha video on why I should use typescript it looks like a meme

darkquaesar
Автор

i agree that its reduce the test, just because i never write a test 😅

haans
Автор

I think typescript is for people who don't write good javascript ... I mean, you know which type you get by clean naming... and with typescript you gotta write more boilerplate code, slows down development... I think it's just one of those fads like unit/e2e testing .... I'm sure all junior/medium devs are all up on it... but when developing on deadlines and such you really don't have time for typescript, just my opinion

TodorescuProgramming
Автор

Bullshit. Even for smaller projects or prototypes Typescript saves lots of time by providing great autocompletion, blazing-fast IDE error feedback with better explanations what went wrong comparing to standard browser/node "Cannot do something of undefined". Because the thing is... you do not have to type explicitly absolutely everything. You can just tell TS the types where TS cannot implicitly predict by itself, and it will still work beautifully. So you do not have to waste time for advance type creating just like during writing in JS and still have those wonderful benefits of TS

Tbh, Typescript is one of the best things that ever happened to JS and I cannot switch to vanilla JS anymore after writing in it for aboout 3+ years. For me now, writing code in plain JS is pure masochism

DEVDerr