3 ms·
Rails eliminates a lot of choice and this is a huge deal. Hooking up db and setting rake tasks migrations for sinatra project might feel novel the first time yo
by xentronium 11y ago
Rails eliminates a lot of choice and this is a huge deal. Hooking up db and setting rake tasks migrations for sinatra project might feel novel the first time you do it, but not really after that.
Rails can feel somewhat bloated, but it has a lot of functionality out of the box done transparently: generators, ORM and migrations, xss protection, templating, assets compilation, testing, configuration and naming conventions.
It's been a huge shock to me to see that a more modern framework on a more modern platform, express.js on node.js, has such a tiny subset of features we had in rails like 8 years ago. Granted, it's more like sinatra rather than rails, but nonetheless disappointing — what do all these people find in express that they couldn't have before.
- nemild 11y agoRails, Sinatra, Express developer here - each tool has different characteristics that make it better for some things and worse for others. If I wanted something with a high throughput of simple requests (like a chat server) or realtime responses using websockets, I'd typically go with a Node.JS inspired framework like Express. But as this thread states, developer productivity can't be overstated, if the shipped code does what is needed.