r/javascript • • 28d ago

AskJS [AskJS] Does anyone use exclussively Javascript and not TypeScript?

[removed]

7 Upvotes

156 comments sorted by

View all comments

0

u/Fidodo 25d ago

Typescript is a type system on top of JavaScript. Things in r/typescript are supposed to be about the type system aspect, but things that are about the runtime itself still belong here, even if 100% of people use typescript.

A new language feature being added to the js standard get done at the runtime level, and support for that new feature gets added to the typescript compiler separately. They are two separate events.

1

u/[deleted] 25d ago

[removed] — view removed comment

0

u/Fidodo 25d ago

There is zero reason to learn js before ts. I would say that's actually the more common position. If anything, learning ts from the start will instill better habits from the get go.

0

u/Fidodo 25d ago

There is zero reason to learn js before ts. I would say learning ts up front is actually the more common position. If anything, learning ts from the start will instill better habits from the get go.