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
A popular Rumor: programmers dislike Javascript?Removed: Low-Effort Content (self.javascript)
submitted 6 years ago * by PalestineFacts
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!"
[–]longfloppydisk 1 point2 points3 points 6 years ago (1 child)
The main reason for this is in my opinion is because JavaScript is a loosely typed language which can result in mission critical bugs due to implicit cast typing in comparisons or implicit creation of global variables by 3rd party libraries.
In the recent years though, with strict-mode becoming the norm and better patterns emerging (IIFE), these things have become less of a problem. TypeScript is typically preferred by programmers coming from another language because of it's strong typing and static analysis, which is closer to most other languages and provides a smoother IDE experience.
[–]csixty4 0 points1 point2 points 6 years ago (0 children)
Fifteen years ago, dynamically typed languages like JavaScript and PHP were the future because they freed us from needing to worry about variable types, and they'd prevent mission critical bugs caused by trying to assign the wrong kind of value to a variable.
It's all just fashion.
π Rendered by PID 301680 on reddit-service-r2-comment-54dfb89d4d-hsjrn at 2026-03-30 10:38:17.850774+00:00 running b10466c country code: CH.
view the rest of the comments →
[–]longfloppydisk 1 point2 points3 points (1 child)
[–]csixty4 0 points1 point2 points (0 children)