JavaScript or Typescript?

Mohamed Zakarya
10 replies
Which one would you prefer and why? Please share your point of view so others can gain some value.

Replies

Sven Radavics
intribe | Tinder for Brand Partnerships
intribe | Tinder for Brand Partnerships
Typescript is the future.
Pavel Keyzik
Pull Request Approver
Pull Request Approver
It really depends on what you're building. For small projects JavaScript is enough, even if you want to care about types, you can always use JSDoc comments. It's not that convenient, but it works. If you're planning to have a big project with different data models, then you'd probably need TypeScript to be more confident about updates ☺️
Marc Gahan
Also believe it depends on what do you want to build.
Rich Watson
NVSTly: Social Investing
NVSTly: Social Investing
typescript that's what the dev team is using for our app. just recently heard they want to use Svelte for our new web2.0 design
John Morrison
Typescript is definitely better for medium/large-sized applications. For smaller/personal projects you could argue that Javascript is fine. Although, personally I would always choose Typescript.
Vickie Richard
Typescript is much faster and more efficient as compared to JavaScript
Jeeva Ramachandran
Try using Rescript