With TypeScript, the developers have the ability to use object oriented programming, strong datatype casting and more importantly, it’s very scalable.
If we dive more deeply into the intricacies of JS, we will see that it is like any other programming language that you learnt at your school but with a lot more flair and ease to come along with it.
- JS follows mostly all structured programming syntax with all loops and conditions like in C
- While it originally just had functional scoping with ‘var’, ES6 introduced the keywords ‘let’ & ‘const’ which gave JS the much needed block scoping as well.
- JS is a weakly typed & dynamically typed language and has received a lot of flak sometimes for its weakly typed nature.
- With asynchronous being the new challenge that all programming languages have, JS evolved with its ‘Promises’ and ‘aync await’ in this field. With the introduction of observables through rxJS, Js has a robust asynchronous behavior.
- Its arrow functions are best loved feature of JS that the developers had been asking for long. It gives the flexibility with ‘this’ and ton of regular clean coding.
With the popular fan base among the developers and amazing community support, JS is a preferred language for any freshman looking to get a job and get into the software industry. It may be a toil in the beginning to choose between the ton of frameworks on which ones to use & learn, but once the priorities get sorted out, JS is a real & long time friend.