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
Typescript is the future.
Share
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 ☺️
Codis
Also believe it depends on what do you want to build.
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
TS is better than JS
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.
Typescript is much faster and more efficient as compared to JavaScript
HyperSwitch
Try using Rescript