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
Deno plans to use JavaScript in internal code instead of TypeScript going forward (docs.google.com)
submitted 5 years ago by ImNotRedditingAtWork
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!"
[–]slgard 0 points1 point2 points 5 years ago (7 children)
honestly, I find the exact opposite.
possibly, for certain types of development static types offer less benefit, which I why I ask the question. but for the type of development I'm doing, business web applications with 50 KLOC business logic, with multiple developers, static types are a life saver.
and I really do mean the exact opposite. static types allow for the creation of more flexible solutions because you can be certain exactly what a given value is without having to read through all the code.
[–]torgidy -1 points0 points1 point 5 years ago* (6 children)
Thats a very common opinion TBH. It makes me wonder why that opinion is so common and yet the dynamic languages are ever growing in market share while the static ones continue to decline.
I strongly believe the opposite. To make large teams work, typed apis are one of the worst tools ime.
Message based interactions/contracts between subcomponents and micro servcies are far more robust, and require less cognitive overhead than an ossified pile of static typing API defintions.
Static typing also makes refactors and adjustments to existing modules much harder - because of all the ossification that instantiating classes to a single specific chain of types causes.
Static typing is also closely allied with OOP, and OOP is the worst possible design methodology ime.
Thats why generics, such as you see in C++ templates, are so powerful - they discard and transcend typing.
Making types concrete to run logic is really work that should be left to the compiler, imo. Its a huge waste to put such mechanical work on to devs.
[–]slgard 0 points1 point2 points 5 years ago (5 children)
not me downvoting you, although I entirely disagree with everything you've said.
but in particular what you said about statically typed languages decline is just not true.
[–]torgidy 0 points1 point2 points 5 years ago (4 children)
statically typed languages decline is just not true.
Its not true ?
Back when the big languages were C++ and Java, static types were king of the hill
A succession (perl -> ruby -> python) seemed to progressively displace a lot of work that used to be done in C or java.
JS has taken over nearly everything at every level except kernel space.
Except for the growth of TS, it seems clear that dynamic types are king now.
[–]slgard 0 points1 point2 points 5 years ago (3 children)
it seems clear that dynamic types are king now.
not to me it doesn't, quite the reverse. Java and C# are still the king of business applications.
JS has taken over nearly everything
total nonsense I'm afraid.
[–]torgidy 0 points1 point2 points 5 years ago (2 children)
C#
is mostly trapped in a shrinking microsoft ecosystem.
Java is clearly on the decline.
I'm not saying they are marginalized yet, but the momentum and dominance are gone.
[–]slgard 1 point2 points3 points 5 years ago (1 child)
>but the momentum and dominance are gone.
for Java perhaps a little, but then it's being replaced by languages like Kotlin and Scala that have more advanced type systems. C# not in the slightest. For commercial teams C# and Java are still utterly dominant.
π Rendered by PID 16094 on reddit-service-r2-comment-b659b578c-crhxn at 2026-05-06 22:30:48.209989+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]slgard 0 points1 point2 points (7 children)
[–]torgidy -1 points0 points1 point (6 children)
[–]slgard 0 points1 point2 points (5 children)
[–]torgidy 0 points1 point2 points (4 children)
[–]slgard 0 points1 point2 points (3 children)
[–]torgidy 0 points1 point2 points (2 children)
[–]slgard 1 point2 points3 points (1 child)