Re:An Ode to Ruby
by weatherlite on Monday January 10, 2022 @11:37AM
(#29877394)
> For all that I despise Java's ridiculous boiler plate, I always know exactly what's going on
Not my experience at all when doing Spring Boot, talk about magic. Rails looks dead simple compared to that.
Re:An Ode to Ruby
by marquis_andras on Monday January 10, 2022 @12:00PM
(#29877781)
This has been my experience too.
I constantly fear Spring Boot magically reconfiguring itself based on what it finds in the classpath, and half the codebase being annotations and import statements.
I've found the metaprogramming in Ruby much easier to understand and teach than Java's reflection and annotation processing.
Re:An Ode to Ruby
by weatherlite on Monday January 10, 2022 @12:29PM
(#29878272)
I really gave Spring Boot a shot, it's just way above my head. Never felt like I had a good sense of knowing what the heck was going on what with all the Beans and annotations. But my Java was pretty poor - that could be the reason.
However I never had this difficulty with Rails/Django/Node, they all felt pretty intuitive to me.
It's not your fault. Spring Boot is a trip to hell compared with Rails.
Perhaps I've only had to deal with sane Java codebases - I feel like magic is not the norm in Java.
Magic is built into the Ruby language, what with everything being "message passing" under the hood.
For all that I despise Java's ridiculous boiler plate, I always know exactly what's going on.
In Ruby, I feel like there are unknowns in every file.
I hate Java, but Ruby makes me miss Java.