Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Learning TypeScript with no JavaScript Background [closed]

I'm planning to learn TypeScript, I have enough HTML5, CSS basics, my problem is that I practically never used nor learned JavaScript, how bad is that, should I start learning JavaScript first, or I can just jump with TypeScript ?

like image 671
AymenDaoudi Avatar asked Feb 26 '14 17:02

AymenDaoudi


People also ask

Can I learn TypeScript without knowing JavaScript?

The answer is that you can't learn TypeScript without learning JavaScript! TypeScript shares syntax and runtime behavior with JavaScript, so anything you learn about JavaScript is helping you learn TypeScript at the same time.

Is TypeScript worth learning in 2022?

TypeScript offers substantial benefits for developers and project stakeholders. You need to write a little more code, but the language helps to achieve quickly: better performance.

Is JavaScript pre requisite for TypeScript?

Prerequisites. A working knowledge of JavaScript, object-oriented programming, and the command line is assumed. The only prerequisites are a code editor and npm, the Node. js package manager.

Is TypeScript easy if you know JavaScript?

It's possible to learn TypeScript without knowing JavaScript, but it's much easier if you already know JavaScript. The two languages share certain syntax elements like function and class.


1 Answers

The closest equivalence you might be more familiar with is trying to learn C++ without knowing C first. TypeScript while based on JavaScript and compiled to JavaScript is a different language which emphasises different aspects of programming than JavaScript.

Sure, a strong background in JavaScript would help you pick up TypeScript faster, but learning the basics of JavaScript won't do you much good compared to just diving into TypeScript.

like image 77
Tibos Avatar answered Sep 20 '22 09:09

Tibos