News for hackers. Stuff that matters.
Re:Error handling in Node.js and Express by taude on Wednesday August 14, 2013 @08:48AM (#6211157)
Except, we're talking about Express here and not barebones Node.js. Express implies a web framework competing against all the techs you listed: Rails, Grails, Django....
Re:Error handling in Node.js and Express by kaoD on Wednesday August 14, 2013 @09:22AM (#6211284)
Not at all. Express is more like Rack than Rails. It provides routing and middleware setup... and that's pretty much it. It's a microframework designed to be minimal, so you are crticising its core design.

You should compare Rails/Django to full-fledged frameworks such as Geddy/Tower/Locomotive/Meteor/Compound... Many of these frameworks are built on top of Express, leveraging it just like Rails/Sinatra leverage Rack.

That's why you should never criticise what you don't know! :)

Re:Error handling in Node.js and Express by andreypopp on Wednesday August 14, 2013 @02:06PM (#6213171)
So Rack doesn't handle errors properly now?

Node.js error handling sucks, period.

Re:Error handling in Node.js and Express by matthieupiguet on Thursday August 15, 2013 @06:19PM (#6220961)
Well, you do seem to be an expert ... Error handling works pretty well if you know how to code (we run a seever in production with 2M requests per day on node and we manage errors pretty well)
Re:Error handling in Node.js and Express by andreypopp on Friday August 16, 2013 @07:00AM (#6223245)
I didn't say it is impossible, it just sucks compared to other platforms/languages.