So here it is :
Liquid error: internal
1. TypeScript is the superset of your own beloved JS, it's like superpowers but you've to be disciplined to use it correctly.19:13 PM - 20 Dec 2019
2. TypeScript follows the old rule of defining data-type(String, Number,Boolean e.t.c) of a variable.
It's called strong Static Typing. All the JS code is valid in TS file19:13 PM - 20 Dec 2019
- In TS you get your errors directly into the code editor, and they are lot meaningful than the browser one's
4. You can use all of the latest Javascript features without any problems, because TS gets compiled into the simple JS at the end.19:13 PM - 20 Dec 2019
5. TS is mostly popular because with it you can easily group highly related variables, and functions into one group called interface then you can easily use it, and code will work as you defined it or as you think it should work
- TS is popular cause it's code is predictable.19:13 PM - 20 Dec 2019
6. With TS, you can create a group called 'class' with all the related fields, properties, methods and you can also use the powerful access modifiers(get, set)19:13 PM - 20 Dec 2019
7. you can create spaghetti code, with Javascript but TS will not let you to end up the flexibility and scalability of the code.
- Try @typescript it's most likely that you'll end up hating Javascript19:13 PM - 20 Dec 2019
8. If you're thinking about learning @angular then @typescript is a must have skill,19:19 PM - 20 Dec 2019
9. Most of the JS mistakes are still related to renaming things, and TS will tell you where you've to rename cause it notes the history of a variable, So you don't have to find the things to rename. Just the follow the red underline.19:19 PM - 20 Dec 2019
10. Most Amazing features like memory and caching, are all in @typescript and I have to say it's future of the web and Javascript.
Quick Tip : @vuejs is also based on TS now19:19 PM - 20 Dec 2019
Liquid error: internal
Follow me on Twitter : @justaashir