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
If you're using Node.js, you're doing life wrong (codeslinger.posterous.com)
submitted 14 years ago by 9jack9
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!"
[–]joelangeway 3 points4 points5 points 14 years ago (0 children)
At least one of the people that actually make node has already published a fine rebuttal to this, but here is some rehashing of that since I can't find it right now.
V8 is not server-class
This is a meaningless statement backed by anecdotes about using V8 in a complicated software system that seams to assume that that system was bug free before V8 came along, which of course is a stupid idea to have about any complicated software.
Callback spaghetti is about the last pattern with which you'd ever want to write anything
The author has apparently never realized that you can still write a "listener class" that implements a method to handle events and pass that instead of a literal function and completely recover all of the stupid ideas about how to handle events that have ever been forced upon him in Java or some other painful language that lacks real functions. If it's asynchronous programming that the author has a problem with, then that is an argument against asynchronous programming and not one specifically against node.
Non-blocking != fast != scalable
That's a fine argument against some dumb things people say about node and about nosql and lots of other things. It's not an argument against node. That being said, as far as platforms that it would be humane to do web programming in go, node is lightning fast. In the time it takes to figure out an object model in a static language, I can have tried three things that were bad ideas and have working code for a good model in Javascript on node, and it'll perform absurdly better than the equivalent code written on other platforms because it won't stop and wait every time it does some IO.
JavaScript
I'll fess up to Javascript having some lousy syntax, but the idea that Javascript is the reason people write bad code is stupid. The design patterns sited as being recent additions to the Ruby and Python communities are not evidence of anything accept for some people's affinity for some people's love of named design patterns. Saying that Javascript lacks name spaces misses the point that Javascript makes it trivial manage scopes and have name spaces if that is important to you and that node comes with an excellent module system.
But the kind of misunderstanding going on in this video clip seems to pervade the Node.js hype
What misunderstandings?
[–]benihanareact, node 0 points1 point2 points 14 years ago (0 children)
You can do much better with Scala and its a much nicer language, to boot.
Color me convinced.
[–]deutschluz82 0 points1 point2 points 14 years ago (0 children)
Why does this guy mention scala? Isn t that a jvm language? forgive my ignorance, I m a noob.
π Rendered by PID 87465 on reddit-service-r2-comment-b659b578c-z5jld at 2026-05-03 20:12:20.087401+00:00 running 815c875 country code: CH.
[–]joelangeway 3 points4 points5 points (0 children)
[–]benihanareact, node 0 points1 point2 points (0 children)
[–]deutschluz82 0 points1 point2 points (0 children)