Re:InfoQ Interview: Rich Kilmer on the Power of Ruby
by nitrogen on Wednesday June 14, 2023 @10:49PM
(#36335852)
ActiveRecord is Ruby's nigh unassailable superpower for webdev. A few jobs back my last act in that role was moving all DB access from a separate Scala microservice into a Rails minilith, saving many, many lines of code and network round trips.
Re:InfoQ Interview: Rich Kilmer on the Power of Ruby
by diordiderot on Thursday June 15, 2023 @04:00AM
(#36337629)
> ActiveRecord is Ruby's nigh unassailable superpower for webdev
Django guy here so unaware, what makes it so great?
Re:InfoQ Interview: Rich Kilmer on the Power of Ruby
by JodieBenitez on Thursday June 15, 2023 @06:02AM
(#36338355)
Ditto... I really enjoy Django's ORM (makes the trivial tasks dead-easy and steps out of the way when needed) and would like to know if it can be even better by borrowing ideas from ActiveRecord.
It's unfortunate for my company, because it would have been better if this functionality had been incorporated in our Scala services codebase, but it gives me the perspective of having used Ruby and Scala in the same system, on the same problems. My personal opinion, predating this experience but strengthened by it, is that dynamically typed languages have lost most if not all of their appeal in the face of improvements to statically typed languages.
In the 2000s, I often used the escape hatch of Boost Python and Jython to make myself more productive when working with C++ and Java codebases. I could get things done so much faster in Python that it was worth the awkwardness of dealing with language interop. These days, I don't bother. I can write quick, small, readable scripts in the same statically typed language that I use for large-scale programming.