Тёмный

TypeScript vs JavaScript in 2024 - Difference EXPLAINED 

Daniel | Tech & Data
Подписаться 49 тыс.
Просмотров 54 тыс.
50% 1

Опубликовано:

 

3 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@Daniel-Dann
@Daniel-Dann Год назад
💻 (Discount Link) Best TypeScript Course I Recommend: bit.ly/3Ltydps Use Code for 10% OFF (FRIENDS10) 👨‍💻 (Discount Link) The Complete JavaScript Course 2023: bit.ly/3QrCoVW 👉 (Discount Link) JavaScript Algorithms and Data Structures: bit.ly/45e7THB
@WakeAndBacon
@WakeAndBacon 10 месяцев назад
I’m trying to find that yellow pillow you have between your knees while you’re on the couch. That’s exactly the pillow that I need. I’ve done tons of googling and nothing similar comes up.
@phantomapprentice6749
@phantomapprentice6749 7 месяцев назад
Failed to mention the big huge disadvantage of TS : it doesn't maintain type safety at runtime! I wouldn't use it for server side just because of that.
@torchoffire
@torchoffire 4 месяца назад
As someone who's been using typescript I am curious what problems it creates? I understand that it is compiled to JS, but wouldn't doing good practices keep you safe?
@tamalchakraborty5346
@tamalchakraborty5346 Месяц назад
Well, Python does the same. But I have not encountered any disadvantages as of yet.
@etherealicer
@etherealicer 11 месяцев назад
Problem I see with TypeScript is that while it might be a desirable skill today, it might not persist. Not so long ago JQuery was the gold standard and now it is frowned upon in some circles, then every website had to be made with Bootstrap and again now it is frowned upon. Trends come and go. And whether TS persists probably depends on JS and how it evolves.
@chrikke
@chrikke 10 месяцев назад
Javascript will never get types the way typescript does. At least i don't think so. It would be a *MAJOR* change if it did. JQuery is a JS library, not a superset. So it is not the same
@etherealicer
@etherealicer 10 месяцев назад
@@chrikke Not exactly what I said, but I see your point. TBH I'm not smart or knowledgeable enough to see the future of JS. But what I can do is learn from the past. And the past teaches us, that all those add-ons are temporary and strongly subject to a industry trend/fashion (TBH, quite possibly also linked to selling courses, just look at the pinned comment). That of course is not a proof, it is at best an educated guess.
@chrikke
@chrikke 10 месяцев назад
@@etherealicer Typescript is not like what scss is to css for example. Typescript includes stuff that will never come to javascript. It won't be replaced by javascript, but it can be replaced by another Typescript 2.0. I personally don't see it being replaced within the next few years. Being able to write a language with type checking is a good idea. Not learning what a lot of people use because it *might* be replaced at some point is not a good idea.
@etherealicer
@etherealicer 9 месяцев назад
​@@chrikke The TypeScript compiler transpiles TypeScript code into JavaScript. Btw, I'm not talking about it being replaced. I simply think that it is currently hyped and the hype will move on. Bootstrap, JQuery etc. are still around, their hype has just gone.
@chrikke
@chrikke 9 месяцев назад
@@etherealicer it is not the same. Bootstrap is a framework, JQuery is a library, and typescript is its own language. It is definitely hyped right now, but it is for a very good reason. If it is replaced, the replacement would do just about the same. I'm not saying the amount of hype won't get disappear. Obviously it will. But that wasn't the point you made. You said it will be a skill that might not be necessary in the future, which is think is a load shit. I don't think you are aware of what TS actually is
@mirm0n
@mirm0n 6 месяцев назад
Thanks man this is a really great video!
@Daniel-Dann
@Daniel-Dann 6 месяцев назад
Glad it was helpful!
@ChrisNowsk
@ChrisNowsk 9 месяцев назад
What's the site you used to compare salaries between different languages?
@tamboleo
@tamboleo Год назад
What about people stop inventing new programming languages and frameworks and expand on the already existing ones without having to learn a new programming language every couple of years?
@Optable
@Optable 10 месяцев назад
Like what? That is what's happening, exactly like you said. You got something wrong with Go and it's absurdly fast compile times? or htmx? Because that's about it, anytime remotely recent. Outside of Rust, Go, C/C++, C# :(, python, js, java, and ts, there isn't much that relevant besides Haskell.
@AnarchySane
@AnarchySane 10 месяцев назад
@@Optable Like God language Lisp😂
@davesmith7658
@davesmith7658 9 месяцев назад
Its called PROGRESS, the new "names" could simply be JavaScript ES69. So long as it is nothing completely new and unrecognisable then I don't see the problem. 😎
@sk3ptik0s49
@sk3ptik0s49 9 месяцев назад
TS is a superset of JS, they are not radically different. In fact, you can opt out of typing when you want.
@kostraone
@kostraone 7 месяцев назад
​@@sk3ptik0s49 just use any and opt out, like many.
@racecarreview3813
@racecarreview3813 6 месяцев назад
It’s getting harder to get a job as a graduate position
@Mirage2020
@Mirage2020 9 месяцев назад
Typescript>>>> JavaScript. Hard and statically tyoed languages are much better for serius projects, they allows o many bad practices and it's so flexible that code becomes misleading and unpredictable, hard to read and track data inputs and outputs, besides, modern IDEs have autocompletition features and snippets support., the amount of code you actually write it's very alike.
@a7mdbest15
@a7mdbest15 9 месяцев назад
Well its nice that its just js on steroids 😂, any js developer can learn it any time, I actually entered this video maybe convince me to learn typescript.
@sen8078
@sen8078 Месяц назад
Wait, so typescript is like javascript but its even more similar to C? Sign me up.
@wesleyferreira5645
@wesleyferreira5645 6 месяцев назад
Your accent its so cute
@Daniel-Dann
@Daniel-Dann 6 месяцев назад
Thanks :)
@aztecsalvador
@aztecsalvador 3 месяца назад
Fuq typescript!!
@joelnaya5341
@joelnaya5341 3 месяца назад
why? its literally a 100 times better than javascript
@aztecsalvador
@aztecsalvador 3 месяца назад
@joelnaya5341 are you serious? First off, typescript is not a replacement for JavaScript. There is no comparison. There are benefits to using typscript, especially if you're designing a library for others to download, install, and use -- seeing types are helpful. HOWEVER, if you're writing a single application for internal use for a company, it doesn't justify adding all that unnecessary syntax and complexity... complety pointlessl
@TheKiRBiR
@TheKiRBiR 2 месяца назад
your english accent is orgasm to my ears. You should monetize your voice!
Далее
Every React Concept Explained in 12 Minutes
11:53
Просмотров 680 тыс.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
TypeScript Tutorial for Beginners
1:04:28
Просмотров 1,3 млн
Why use Type and not Interface in TypeScript
14:12
Просмотров 208 тыс.
All You Need To Know About TypeScript
14:29
Просмотров 227 тыс.
Learn TypeScript Generics In 13 Minutes
12:52
Просмотров 268 тыс.
TypeScript - The Basics
12:01
Просмотров 1,5 млн
What is TypeScript and Should You Learn it?
6:39
Просмотров 118 тыс.