4 ms·
Independent of the community and boundary pushing aspects of Node.js, I don't recommend it to people because it commends an incredibly irritating pattern of pro
by heretohelp 15y ago
Independent of the community and boundary pushing aspects of Node.js, I don't recommend it to people because it commends an incredibly irritating pattern of programming.
I get the impression that Dahl knew ahead of time that he was working with some serious limitations with event-driven programming such as it is on V8. He's a smart guy, he had to have known how much cleaner things like Erlang are.
At the same time, we have a bunch of zealots who've never done any event-driven programming on C, Lisp/Scheme (CPS), or on Erlang who think it's the best thing since sliced bread because it's FAST.
I'd argue that the main advantage of Rails wasn't "speed" and I don't think it ever was.
Rails' main advantage was making the human fast. Node.js reeks of misguided pre-optimization to me. It doesn't make building a product any faster.
Could just as easily build a web app with CoffeeScript + BackBone + Flask (python), or Clojure, or Ruby, or whatever.
The single-page app paradigm needs to be pushed in terms of integration and productivty in order to get adopted. The backend involved is almost immaterial, it's just a JSON API conceptually.
So why are we pretending Node.js is somehow a successor to Rails when it doesn't actually improve on anything in terms of product or performance?
- iamgilesbowkett 15y agoBecause it's more fun.
- heretohelp 15y agoThat's what I write Clojure for, and end up with something faster and cleaner anyway. I even get to use Netty if I want. It's a bit misguided to make it a matter of taste anyway. There's nothing to discuss if you're making a decision on the basis of "fun". If you don't have rational reasons for making the judgment call, then you don't have anything of substance to actually share about the stack.
- dmix 15y agoCompletely agree. And I know Javascript way better than Clojure. But building an app with Clojure feels like I'm writing high quality code. Writing Node feels hacky and I get an uneasy feeling with it for some reason. I've never liked nodes callback-driven async approach to development. This post summarizes my feelings towards Node better than I can: http://dosync.posterous.com/22397098 http://dosync.posterous.com/22397098
- iamgilesbowkett 15y agoChill man. You have no information on the topic of whether or not I have "rational" reasons for making my judgement call; all you can say with certainty is that I haven't explained any to you. Give me a freaking break, dude. I posted like twelve thousand words today. I'm all out of explanation juice.