Is TypeScript worth it?
h
MocaCDeveloper

Simple question, yet seems to be very debatable from person to person.

Question

Is TypeScript worth learning. It seems to have a very clean syntax and seems to be written smoothly. It has some strong ties with JavaScript(duh).

But, I have heard from many developers that it is slow and "too much like JavaScript", and in that case many developers lean more towards JavaScript due to the fact there belief is that TypeScript is too much like JavaScript.

But, I need a straightforward answer. Is TypeScript worth learning?

I am on a learning spree. I am currently learning Rust, I am getting a little hands on with C++(I might create a game engine using C++), and I want to get into some other languages like JavaScript or TypeScript for server-side development(or whatever TypeScript is used for).

I've seen allot of interesting projects in TypeScript and I feel like it would fit my needs in some projects I want to write where in most cases I don't want to use Python(mainly because Python gets a bit boring over time, and languages like Rust, C, C++ etc would take far too long).

So, to me, TypeScript would fit in my category of a language to learn. I don't want to dive into JavaScript due to its strong bonds with Web Development.

But, I really don't know anything about TS or JS. Shoot, they could both be the absolute same thing..just different languages.

But what do you guys think? Is TS worth learning, or should I dive right into JS?

You are viewing a single comment. View All
Answered by xxpertHacker [earned 5 cycles]
View Answer
realTronsi

@DynamicSquid honestly imo it's not a matter of viewpoint but rather more of preference. It has pros and cons, and it's generally just how you weight each pro and con to determine whether you like ts or not, though generally I would say anyone with a functional brain would not choose typescript (sorry coder, but I mean cookies don't have brains so uh yeah).