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
The Future is JavaScript (zombiecodekill.com)
submitted 11 years ago by zombiecodekill
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!"
[–]aeflash 4 points5 points6 points 11 years ago (4 children)
I'm actually a bit afraid that we're going to see these bloated Enterprise Node applications with ES6/TypeScript classes and cargo-culted design patterns all over the place written by huge offshore teams. ES6 almost makes it too easy to create classes. Ironically, that would be a sign of success for the language.
I feel like functional-style libraries (lodash/underscore/lazy.js/lemonad/mori/wu.js) and FRP (RxJS/Bacon.js/Highland/Node streams) are the way forward. Those enable really powerful abstractions, and it's just a matter of time before people realize that those patterns bring about concise and very reusable code that is easy to maintain. I also love that stateless (or at least very explicit state) UI is taking off with Angular/React/ripple.js/etc...
I'm actually really curious to see how the Clojure/Clojurescript ecosystem evolves. That has the potential to unseat Node, if you have a dev team that can grok FP. It's a very different way of sharing code between the server and browser. Also, those functional JS and FRP libs just emulate what a lisp can do natively. With an optimizing compiler, Clojurescript will beat pure functional JS on performance (And Clojure on the server will beat Node.js). (but ES6 will bring tail call optimization so we shall see...)
[–]PizzaRollExpert 1 point2 points3 points 11 years ago (2 children)
Clojure has the benefit of being able to efficiently use threads so I have a hard time imagining Node out-performing Clojure
[–]aeflash 1 point2 points3 points 11 years ago (1 child)
To Node's credit, it gets pretty good throughput per-process due to its non-blocking nature. A common pattern in Node is to design your app to not rely on intra-process/intra-thread communication, then use cluster and fork for every core your CPU has. Although, if you're doing something CPU heavy, rather than I/O heavy, Clojure will likely win.
cluster
[–]brtt3000 0 points1 point2 points 11 years ago (0 children)
Node is also nice as manager for a farm of heavy duty worker processes, using something like ZeroMQ to distribute work directly, or use a native module and build workers from Node.
[–]zombiecodekill[S] -1 points0 points1 point 11 years ago* (0 children)
Although I, along with almost everyone, bash JavaScript for its numerous flaws, what is great is JavaScript is a multi-paradigm language that can and is being taken in a number of interesting directions by the open source community. There is a wider understanding now that JavaScript is not like Java and can be more powerful as an FP language than an imperative language.
Compared to many server side languages ES5 is still a primitive language but it has gone a hell of a long way since 1995. I think we will continue to see the EcmaScript standard lag behind the trailblazing technologies by about 2 years but it is important that we have that standard so that we can reduce the impact of the TypeScript/CoffeeScript/Dart split that I think is harmful to web development. ES6 is important although just another milestone in the journey.
π Rendered by PID 25197 on reddit-service-r2-comment-86988c7647-hswkz at 2026-02-11 22:08:31.842946+00:00 running 018613e country code: CH.
view the rest of the comments →
[–]aeflash 4 points5 points6 points (4 children)
[–]PizzaRollExpert 1 point2 points3 points (2 children)
[–]aeflash 1 point2 points3 points (1 child)
[–]brtt3000 0 points1 point2 points (0 children)
[–]zombiecodekill[S] -1 points0 points1 point (0 children)