What is TypeScript and should you even use it?

TypeScript is a language made by Microsoft. It is a superset of JavaScript meaning it adds features to vanilla JavaScript.
TypeScript adds static typing to JavaScript. What the does this mean?
Vanilla JavaScript it dynamically typed, which means the type (const, string, int etc) is checked at run time, which can be missed.
In TypeScript, Types checked before run-time (tracking bugs before shifting your code). This means its easier to spot bugs early on.
Here is a comparison between TypeScript(Left) and JavaScript(Right).
Now, when should you use TypeScript?

The benefits of TypeScript kick in when you are working on a large project ( more than 2 files), otherwise it doesn't really make sense to use it. With all that being said, the bottom-line is

TypeScript is AWESOME!

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh

Keep Current with Pratham Prasoon πŸš€

Pratham Prasoon πŸš€ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!


Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @PrasoonPratham

18 Oct
Are you a web developer?

These are Github Repositories that will help you immensely🀩

Nodejs Best Practices

HTML5 Boilerplate is a professional front-end template for building fast, robust, and adaptable web apps or sites

Read 6 tweets
17 Oct
Awesome Open Source Projects I checked out this year!

1. Flutter
2. Strapi
Read 6 tweets
16 Oct
Take your CSS skills to the next level with these websites 🌟

css-tricks. com
developer.mozilla. org/en-US/docs/Learn/CSS
Read 6 tweets
15 Oct
Maths for deep learning can be tough and confusing if one does not follow a structured curriculum.

Recently, I came across these incredible notes which has everything you need to get started with the maths for deep learning ( and also goes over applying it with numpy! )
This course specifically will go over linear algebra. One of the pillars of deep learning.

Prerequisites are:
- Basic Algebra
- Numpy
Look at khan academy if you want to learn the basicsπŸ‘‡

Read 6 tweets
14 Oct
Helpful websites for front-end web developers.

πŸ§΅πŸ‘‡ Image
1. @VueTailwindCom : Awesome Tailwind components

πŸ”—Link: vuetailwind.com
2. @dribbble : For design inspiration Image
Read 6 tweets
13 Oct
Don't like CSS?😰

Here are a few frameworks that will make your life easier
(and a guide how to get started with them!)

Read 8 tweets

Did Thread Reader help you today?

Support us! We are indie developers!

This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!