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
DynamicSquid

I don't have an answer for you, but if you ever decide to create a game engine, let me know :)

DynamicSquid

Also, just my personal advice (take it with a grain of salt), but as C/C++/low-level programmers, I would stay away from high level langs... I don't think they're worth it

realTronsi

@DynamicSquid good luck making interactive HTML pages using C++!

DynamicSquid

@realTronsi I don't make interactive web pages, I make the web browsers and web engines that are used to make interactive web pages :)

xxpertHacker

@realTronsi That's actually going to be a reality in the near future (< 5 years?), considering how it's already being done with Rust more and more often.

DynamicSquid

@xxpertHacker Hmm... you really think a language like Rust can compete with the current JS family of languages?

realTronsi

@xxpertHacker javascript was built specifically for interacting with the DOM.

xxpertHacker

@DynamicSquid No, I don't think that it can... a whole lot of others and I know it can ;)

Example