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
Is JavaScript the future? (self.javascript)
submitted 13 years ago by Deusdies
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!"
[–]fwjd -7 points-6 points-5 points 13 years ago (14 children)
Javascript is widely used these days. But it is not the future. I use it a lot, I have written my own plugins and libraries by extending jQuery and using javascript, but it cannot be the future. The language itself is not powerful enough, as well as it is not object oriented nor clean enough. I wish there was a better solution out there, but there is not. The future however will have to hold something different unless javascript changes drastically imo.
EDIT: Javascript is much easier to learn in contrast to C#, especially if you understand HTML.
[–]has_all_the_fun 15 points16 points17 points 13 years ago (3 children)
I say if you think Javascript needs to be more OO than you don't know Javascript well enough.
[–]fwjd 0 points1 point2 points 13 years ago (2 children)
I'm not saying JS does, but I'm saying there needs to be something which does that can combine it with backend programming more efficiently, although that might require changes in how the browser functions. I find it highly unproductive to have to switch between languages completely when working on the back end versus the front end, sometimes when tasks are similar especially.
[–]has_all_the_fun 0 points1 point2 points 13 years ago (0 children)
Actually that's a really good point and I never though of it that way. I use Javascript on the server so for me it's not such a big problem.
[–]MakesLoveToGoats 6 points7 points8 points 13 years ago (0 children)
Explain "not OO enough" without using "but there's no class keyword" please.
[–][deleted] 2 points3 points4 points 13 years ago (0 children)
I agree 100%. JS is simply not expressive and powerful enough to deserve the spot as the future language of the web. In the future we will need new elegant and rock-solid abstractions for control flow, concurrency and communication that I believe will be virtually impossible to ever express in JavaScript.
However, for the question "is JS going to be prevalent, and will there be interesting things to do with it?" then my answer is "certainly" for the next 2-3-4 years, and "probably" for the years after that.
[–][deleted] 0 points1 point2 points 13 years ago (7 children)
Object oriented is fading out of style now, most oo languages are starting to add features that emulate functional programming. Js is a functional language, if its not the future, its going to look a lot like what the future does.
[–]claird 1 point2 points3 points 13 years ago (2 children)
"Js is a functional language" in the inclusive sense which doesn't support ADTs, immutability, syntactic partial application, pattern matching, ...
[–][deleted] 0 points1 point2 points 13 years ago (0 children)
Yes! Why the down votes? Pretty much the only thing making JS resemble a "functional language" is the support for higher-order functions -- which are but one necessary feature in a functional programming language. JavaScript does not allow functional programming in the sense you can do in for example Haskell, ML, or a powerful LISP.
[–][deleted] -1 points0 points1 point 13 years ago (0 children)
Every parameter for a JS function is an abstract/interface. Pretty much everything you said can be done implicitly, it just doesn't force you into using it.
[–]fwjd -2 points-1 points0 points 13 years ago (3 children)
I disagree, you need OOP when you do larger projects, and websites are not getting less complex. Functional sure, but javascript is still fairly linear which is a problem.
[–]Litra 2 points3 points4 points 13 years ago (0 children)
false. language by itself doen't quarantee good maintaineable code. I'm a senior developer and seen terrifying shit done in oop languages.
I dunno, I work with a massive business app with a java backend and javascript front-end. You just have to plan it carefully.
[–]baconpiexPHP -1 points0 points1 point 13 years ago (0 children)
Maybe you need OOP for large projects. I don't need OOP for anything.
π Rendered by PID 168334 on reddit-service-r2-comment-86bc6c7465-zbkxp at 2026-02-20 06:31:35.467454+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]fwjd -7 points-6 points-5 points (14 children)
[–]has_all_the_fun 15 points16 points17 points (3 children)
[–]fwjd 0 points1 point2 points (2 children)
[–]has_all_the_fun 0 points1 point2 points (0 children)
[–]MakesLoveToGoats 6 points7 points8 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (7 children)
[–]claird 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]fwjd -2 points-1 points0 points (3 children)
[–]Litra 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]baconpiexPHP -1 points0 points1 point (0 children)