Hacker News new | ask | show | jobs
by kaoD 4698 days ago
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! :)

1 comments

So Rack doesn't handle errors properly now?

Node.js error handling sucks, period.

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)
I didn't say it is impossible, it just sucks compared to other platforms/languages.