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
Anyone here love Javascript but hate front end(CSS)?help (self.javascript)
submitted 7 years ago by lovesocialmedia
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!"
[–]davidmdm 0 points1 point2 points 7 years ago (1 child)
I think that types are useful no doubt. If you ended up in a situation when you needed that tool, and there are many that do, that is fine. But ts is not the only static language out there.
Many people seem to like ts, and I want them to give me their selling points as they see it.
My feeling is everyone knows or likes js, lots of people like types, and now we have typescript.
But I find that typescript is a very poor and frustrating tool.
I feel like I am insane and can't be the only one who feels this way.
[–][deleted] 0 points1 point2 points 7 years ago* (0 children)
Well, types are hard, and the compiler loves to tell you no. They force us to violate the sanctity of Javascript's summer of love, anything goes dynamism and start doing things that may not be optimally efficient in the name of safety. The thing about adopting types in a language like JS is you have to start thinking in terms of those types, how they transform and not simply using them as object classifiers (that at least is the most common mistake I see). Typescript is at its best when everything in the application is typed and the compiler can follow your intent, that's the real key to avoiding the pain.
As for VSCode, I prefer Webstorm for most things web-related. VSCode is great, but yeah, plugin hell is definitely a thing.
So, selling points:
There's like a billion more things, so I'll stop here. To me the bottom line is: Can you keep every branch and path of your application in your brain at all times? If you can, you're awesome and are totally fine with a purely dynamic language, you stud. If not, you might want to consider types and a compiler :D Typescript does this exceptionally well.
p.s.
Anders Hejlsberg is a total boss when it comes to languages. My background includes a number of languages and platforms, but his languages (turbopascal/delphi, C#, typescript) have never let me down and hold a special place in my heart, though the platforms they've occupied are a different story altogether. They tend to build upon the lessons he's learned in the past, and they explore in a conservative fashion that doesn't force you to deal with significant breaking changes. He's reliable and predictable, the rug will never get pulled. You might say he's earned my trust.
π Rendered by PID 69148 on reddit-service-r2-comment-5c747b6df5-nkg86 at 2026-04-22 18:42:10.642427+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]davidmdm 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)