4 ms·
Because Rails is awful. You do not need to choose JavaScript. Just don‘t go with Rails.
by selfmodruntime 4y ago
Because Rails is awful. You do not need to choose JavaScript. Just don‘t go with Rails.
- WJW 4y agoWhich parts of Rails do you dislike? It can be terrible if done poorly but overall Rails is pretty good for fast iteration.
- selfmodruntime 4y agoYou are correct. What I dislike about Rails is almost entirely because of Ruby and its damned ability to monkey patch everything.
- ativzzz 4y agoAny serious production ruby codebase will have either no monkeypatching, or do it in isolated ways using things like refinements - https://ruby-doc.org/core-3.1.0/Refinement.html https://ruby-doc.org/core-3.1.0/Refinement.html The most I've seen it used is for backporting fixes from future Rails versions or other gems that are hard to update - and again it's easy to do this in an organized and clean way Just because ruby gives you the tools to do stupid things (and every language lets you do stupid things) doesn't mean that you should do them in a real business app