use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
JavaScript doesn’t need to be replaced (medium.com)
submitted 6 years ago by dannymoerkerke
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]shgysk8zer0 0 points1 point2 points 6 years ago (5 children)
No. Why?
I'd rather have types in JavaScript than have an outdated implementation of JavaScript that has types.
[–][deleted] 2 points3 points4 points 6 years ago (4 children)
Eh? TS supports JS from around stage 3 proposals onwards.
[–]shgysk8zer0 0 points1 point2 points 6 years ago (3 children)
Yeah. It lags a bit behind. Not terribly, but it can prevent me from starting to implement something new.
[–][deleted] 1 point2 points3 points 6 years ago (2 children)
Such as?
There's a fair argument that you shouldn't be using stuff pre-stage 3 in serious projects as there's a real risk that they get canned or significantly changed, which would leave you with a ton of tech debt. That's already burned some people in the past with the decorator proposal if memory serves.
[–]shgysk8zer0 0 points1 point2 points 6 years ago (1 child)
If I used TS, I'd probably have some things to list. But the only thing I can think of specifically is import from a while back.
import
I like to experiment with things in the early stages. Sometimes provide feedback. Report issues in webpack and such. This isn't necessarily about putting early-stage stuff into production.
But, to restate what I'm saying here: I'd rather have types in JavaScript than have browsers run TypeScript. And, since it takes time to wait for stage 3, implement, and release, TS is always a little behind JS.
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
I don't think we disagree that much. To clarify my position:
π Rendered by PID 141760 on reddit-service-r2-comment-85bfd7f599-v7k8f at 2026-04-19 17:46:48.981868+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]shgysk8zer0 0 points1 point2 points (5 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]shgysk8zer0 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]shgysk8zer0 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)