3 ms·
So you come from the Node ecosystem and your main complain about Rails is that the project has a lot of dependencies and files? lol
by fourseventy 5y ago
So you come from the Node ecosystem and your main complain about Rails is that the project has a lot of dependencies and files? lol
- NoSorryCannot 5y agoI hear your point but the quantity of files produced by initializing a new rails project is very large, larger than an equivalent node project with server and framework. These aren't transient build artifacts either, they will live in the repo and may occasionally need attention.
- syspec 5y agoExcept with node you have to roll everything yourself, so jumping between different projects is a nightmare (each one a snowflake) Roll your own session management, auth, ORM, db migrations, html templating, CORS, cross site scripting protection, the list goes on and on.
- montblanc 5y agoRails is doing a lot for you. There's no point in comparing it to something lean like Express. If you want that in Ruby use Sinatra, not Rails.
- charcircuit 5y agoWhen you create a project it makes like 100 files that are all automatically executed somehow. Nothing really includes them, but you know it works. These files arp part of your project, but they is also a bunch of rails stuff so it blurs what is and isn't a dependency for your project. With node projects they typically keep all of their dependency neatly under node_modules/ and you can clearly see how things are included and how things work.