TypeScript vs JavaScript in 2024 - Difference EXPLAINED

  Рет қаралды 36,669

Daniel Dan | Tech & Data

Daniel Dan | Tech & Data

Күн бұрын

Today I will compare Typescript vs Javascript programming languages. I will explain the difference, explore the pros and cons, and which of the languages is more relevant for specific tasks.
💻 (Discount Link) Best TypeScript Course I Recommend: bit.ly/3Ltydps
Use Code for 10% OFF (FRIENDS10)
🚀 (Discount Link) The Complete JavaScript Course 2024: bit.ly/3QrCoVW
⏱️CHAPTERS:
0:00 Typescript vs Javascript
0:28 What JavaScript and TypeScript are made for?
2:01 Main Differences between Typescript and Javascript
3:31 Advantages of Typescript over Javascript
4:40 Disadvantages of Typescript
5:40 Why use Typescript when JS is available?
6:37 Which one should you learn today
7:31 Career Opportunities
Note: Some links are affiliate links that help the channel at no cost to you.
#typescriptvsjavascript #typescrip #javascript

Пікірлер: 30
@Daniel-Dann
@Daniel-Dann 8 ай бұрын
💻 (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 5 ай бұрын
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.
@ChrisNowsk
@ChrisNowsk 4 ай бұрын
What's the site you used to compare salaries between different languages?
@mirm0n
@mirm0n Ай бұрын
Thanks man this is a really great video!
@Daniel-Dann
@Daniel-Dann Ай бұрын
Glad it was helpful!
@phantomapprentice6749
@phantomapprentice6749 3 ай бұрын
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 11 күн бұрын
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?
@davidgrajalesmirage
@davidgrajalesmirage 5 ай бұрын
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.
@etherealicer
@etherealicer 7 ай бұрын
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 5 ай бұрын
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 5 ай бұрын
@@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 5 ай бұрын
@@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 5 ай бұрын
​@@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 5 ай бұрын
@@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
@a7mdbest15
@a7mdbest15 5 ай бұрын
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.
@racecarreview3813
@racecarreview3813 2 ай бұрын
It’s getting harder to get a job as a graduate position
@tamboleo
@tamboleo 8 ай бұрын
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 6 ай бұрын
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 6 ай бұрын
@@Optable Like God language Lisp😂
@davesmith7658
@davesmith7658 5 ай бұрын
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 4 ай бұрын
TS is a superset of JS, they are not radically different. In fact, you can opt out of typing when you want.
@kostraone
@kostraone 3 ай бұрын
​@@sk3ptik0s49 just use any and opt out, like many.
@wesleyferreira5645
@wesleyferreira5645 Ай бұрын
Your accent its so cute
@Daniel-Dann
@Daniel-Dann Ай бұрын
Thanks :)
Javascript vs Python in 2024 - Make a RIGHT Choice as a Beginner Programmer
9:06
Daniel Dan | Tech & Data
Рет қаралды 28 М.
TypeScript Tutorial for Beginners
1:04:28
Programming with Mosh
Рет қаралды 1,1 МЛН
where is the ball to play this?😳⚽
00:13
LOL
Рет қаралды 14 МЛН
Kitten has a slime in her diaper?! 🙀 #cat #kitten #cute
00:28
JavaScript Framework Tier List
40:57
Theo - t3․gg
Рет қаралды 281 М.
8 Design Patterns | Prime Reacts
22:10
ThePrimeTime
Рет қаралды 377 М.
All You Need To Know About TypeScript
14:29
Clément Mihailescu
Рет қаралды 225 М.
100+ Computer Science Concepts Explained
13:08
Fireship
Рет қаралды 2,3 МЛН
The Best Language Learning Apps (and Why Most Don’t Work)
9:11
Brian Wiles
Рет қаралды 1,3 МЛН
TypeScript - The Basics
12:01
Fireship
Рет қаралды 1,5 МЛН
10 JavaScript Interview Questions You HAVE TO KNOW
13:41
James Q Quick
Рет қаралды 39 М.
Every Programming Language Ever Explained in 15 Minutes
15:29
Flash Bytes
Рет қаралды 236 М.
How I Would Learn To Code (If I Could Start Over)
13:43
Namanh Kapur
Рет қаралды 6 МЛН
8 Design Patterns EVERY Developer Should Know
9:47
NeetCode
Рет қаралды 984 М.
where is the ball to play this?😳⚽
00:13
LOL
Рет қаралды 14 МЛН