TypeScript vs JavaScript in 2024 - Difference EXPLAINED

  Рет қаралды 34,430

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 7 ай бұрын
💻 (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?
@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.
@mirm0n
@mirm0n Ай бұрын
Thanks man this is a really great video!
@Daniel-Dann
@Daniel-Dann Ай бұрын
Glad it was helpful!
@etherealicer
@etherealicer 6 ай бұрын
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 4 ай бұрын
​@@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 4 ай бұрын
@@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
@tamboleo
@tamboleo 7 ай бұрын
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 5 ай бұрын
@@Optable Like God language Lisp😂
@davesmith7658
@davesmith7658 4 ай бұрын
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 2 ай бұрын
​@@sk3ptik0s49 just use any and opt out, like many.
@racecarreview3813
@racecarreview3813 Ай бұрын
It’s getting harder to get a job as a graduate position
@a7mdbest15
@a7mdbest15 4 ай бұрын
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.
@davidgrajalesmirage
@davidgrajalesmirage 4 ай бұрын
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.
@MIX-du2ih
@MIX-du2ih 5 ай бұрын
I don't know English well, but I understood your video very well
@Daniel-Dann
@Daniel-Dann 5 ай бұрын
👍
@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 М.
All You Need To Know About TypeScript
14:29
Clément Mihailescu
Рет қаралды 225 М.
How To Choose Ramen Date Night 🍜
00:58
Jojo Sim
Рет қаралды 38 МЛН
I MADE A CARDBOARD SWING!#asmr
00:40
HAYATAKU はやたく
Рет қаралды 23 МЛН
JavaScript Framework Tier List
40:57
Theo - t3․gg
Рет қаралды 269 М.
Object Oriented vs Functional Programming with TypeScript
12:07
Flutter vs React Native in 2024 : Choosing the Right Framework
5:55
Why use Type and not Interface in TypeScript
14:12
ByteGrad
Рет қаралды 185 М.
Web Developer Roadmap (2024) - Everything is Changing
25:02
ByteGrad
Рет қаралды 216 М.
40 APIs Every Developer Should Use (in 12 minutes)
12:23
Coding with Lewis
Рет қаралды 225 М.
TypeScript - The Basics
12:01
Fireship
Рет қаралды 1,5 МЛН
Python or JavaScript - Which One Should YOU Learn?
8:05
Tech With Tim
Рет қаралды 130 М.
8 Design Patterns EVERY Developer Should Know
9:47
NeetCode
Рет қаралды 968 М.
12 VS Code Extensions to INCREASE Productivity 2024
27:13
Devression
Рет қаралды 429 М.