TYPESCRIPT VS JAVASCRIPT - FULL COMPARISON IN 5 MIN

preview_player
Показать описание
In this video, we’ll review TypeScript vs JavaScript - what’s better and how are they different?

We are a technology consulting and software development company eager to share our knowledge and experience.

▶ LINKS:

▶ TIME CODES:

▶ Follow us:

▶ About this video:
Lately, one of our clients asked us about Typescript vs JavaScript - what’s better and how are they different? So, we decided to give a detailed answer, with all the pros and cons and use cases.

What is Typescript?
Typescript can be described as an improved version of JavaScript with increased readability, static compilation, and intuitive interface.

Watch the video to learn about TypeScript features and how TS is different from JS.
Рекомендации по теме
Комментарии
Автор

TypeScript or JavaScript - choose what’s better for your purposes! What are the key differences that make your choice? 🤔

Jelvix
Автор

I wrote an app in JavaScript, released it, then for the second release ported it to TypeScript. My experience was that I preferred TypeScript. The better intelli-sense made coding faster when using objects and it definitely prevented mistakes. One simple mistake anybody who has written JavaScript has made is an accidental casing typo. For example, if an object variable name is mySharona, and you accidentally typed mySHarona. JavaScript allows this and treats the two as separate variables on the object since it is case-sensitive. This leads to defects as most places expect the correct spelling except for the place you made the mistake. This kind of stuff is even hard to catch in code-reviews.

For this reason alone, TypeScript is superior. It catches stupid mistakes.

This was glossed over in the video as the error category of static type checking.

AGMXZ
Автор

Video says in short:
JS is less compilation time with less project size and you should use TS.

mehmetakifyucel
Автор

typescript try to control free style coding of developers. Typescript owned by microsoft that's why they are promoting it more. Always prefer Javascript for freedom of coding.

shaileshpatil
Автор

Typescript reminds me of Java. So much boilerplate and unreadable code just for benefits which esLint can provide to Javascript.

desinihilist
Автор

javascript is more readable than typescript and you have to write more code in some cases to consume a js response from an api.

Meleeman
Автор

typescript seems a bit better to me.
I personally like the ability to assign parameters and variables types so that i can easily keep track of what they are, and in the one or two cases where i need an arbitrary variable, i still have the freedom to do so.
It's so much easier to read code when it tells you what things are instead of making you guess.

redpug
Автор

I was totally intrigued until he mentioned Product Owners

evilbee
Автор

They both use the same words and you don’t have to relearn any thing?

crazypeeps
Автор

Do I still need to learn JavasCript? before go to TypeScript?

JZ-itug
Автор

Thank you for such a smart explanation.

jessicabrown
Автор

I really don't see how TS is faster than JS when you gotta type more.

Phyxu
Автор

idk but for ts me it looks better or I have no idea what im talking about because im only programming in C# and C++.
I would be very grateful for some advice and guidance.

drominitoketchup
Автор

4:17 so typescript is slower in creation and compilation? Why are you advertising this as a good thing.

absbi
Автор

Why would anyone in their right mind use JS unless they're behind held hostage by legacy frameworks is beyond me.

halle
Автор

Did not catch the work "unespected"

abukholmatov
Автор

Typescript sucks makes unnecessary work … its like your computer has OCD …

grassCrow
Автор

What is Typescript?
Typescript is Microsoft's last resort in controlling and setting the standard for the internet since their epic failure with IE. TypeScript will restrict your freedom in determining the model of your program. Because, some people think it's a good idea to prefer strict rules over freedom in programming the web. And, duh...why do it the easy way when you can do it in a more complicated and sophisticated way with style?

But, because these things become a thing ... and it can pay the bill quite nicely, I guess I’ll jump into the bandwagon too.
Yippie!

dreamsavior
Автор

TS is ugly, and the dynamic types system has some pros and you killed it.

yuryzhuravlev