What is TypeScript and what is it used for?

preview_player
Показать описание
💎 For more #webdesign & #development resources:

#typescript #shorts
Рекомендации по теме
Комментарии
Автор

I almost skipped this video because of that first clip. (Thought he gone indian)

vyne-
Автор

Thanks, means a lot😢, for me " hacker wannabe

larmadi
Автор

I do NOT see "real-world" problem being solved by using TypeScript.

All I see are silly examples of a "function that adds or divides 2 numbers' to justify "type checking". e.g., Who writes a function just to do basic math????

Next, developers are testing (aka runtime) their code LINE-BY-LINE anyway, so "compile-time" checking isn't all that beneficial in saving a developer time coding.

In other words, TypeScript adds a layer of complexity that doesn't have that much benefit to JavaScript world.

NEWS FLASH:
1. Most data on the Client Side are STRINGS anyway.
2. NUMBERS and DATES are already validated in the client's browser anyway.
3. And YES, you are passing data for a KNOWN REASON. So you have a pretty good idea what is to be expected. And those to say you don't OR say you haven't worked with a large code base are justifying passing parameters that you have NO CLUE in what you are passing? If so, that is a sneaky form of "job security". LOL.

devprocedure