4 ms·
Erm .. what is the point of Rails here? This can be done with Rack, Sinatra, Node, Go. I really like Rails, but I get a bit annoyed when people use it everywhe
by rockyj 9y ago
Erm .. what is the point of Rails here? This can be done with Rack, Sinatra, Node, Go.
I really like Rails, but I get a bit annoyed when people use it everywhere even where it is not a good fit e.g. no need of activerecord, no server side templates or other 70% of Rails feature set, it is all just there adding to bloat without any usage.
- solyaris 9y agoI agree!
- geff82 9y agoActionCable!
- briandear 9y agoYou can run rails without active record, you use it in API mode as well. Go is a language not an application framework. So that's not a fair comparison. You get a lot of nice things right out of the box with Rails so it's a good choice for many projects. Node isn't a framework or a language, it's a runtime environment. You'd still have to write a Javascript application. With Rails you get rapid development speed and you can just use the pieces you want. You could argue that writing this sort of app in Swift is a good choice as well. As far as bloat.. what's the actual consequence? A slightly bigger deployment? It's negligible in terms of real world consequences and offset by the convenience of Rails conventions.