3 ms·
I think there's a valid case to be made that Spring and the rails auto-loader are pretty annoying/stupid in larger projects (or anytime you're going against the
by NegativeLatency 9y ago
I think there's a valid case to be made that Spring and the rails auto-loader are pretty annoying/stupid in larger projects (or anytime you're going against the grain).
Every framework has its downsides. Personally I think rails is nice (I am very productive with it).
- kureikain 9y agoThis is a fair point. Yes, I come into lots of issue with Spring autoloader to the point I have a zsh alias call `kill_rails` to make sure it kills all the rails and spring instances :(. That's being said, Spring is an external tool to help solve the slowness of booting up Rails app. I have work in Java/Python and they are slow to bootup too just depend on how big the project is. Tool like: https://github.com/Shopify/bootsnap https://github.com/Shopify/bootsnap help to speed up this as well. Other option to look at: https://github.com/danielpclark/faster_path https://github.com/danielpclark/faster_path These solves the issue of scanning path, address slowness in a different way compare to preload mechanism of Spring.
- mtarnovan 9y agoGP was talking about this Spring: https://spring.io/ https://spring.io/ not the Rails preloader...
- jcadam 9y agoYes, I meant the Java uberframework beloved by architecture astronauts. I suppose I should have been more clear - I haven't uses RoR since version 3, so my knowledge of that ecosystem isn't very current :)