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 ?
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With