Re:Shopify invests in research for Ruby at scale
by vips7L on Tuesday May 17, 2022 @09:42AM
(#31410464)
The point of that example wasn't to show if there was a standard library function for it. It was to show the verbosity of writing code that contains if conditions, loops, and generic programming. I obviously could have written:
new BigInteger(n).isProbablyPrime(0);
Re:Shopify invests in research for Ruby at scale
by bin_bash on Tuesday May 17, 2022 @10:29AM
(#31411220)
My general point is that if you put Ruby up against a nonspecific compiled language it's hard to argue Ruby is better. When you analyze something like Go vs Ruby or Go vs Java then the warts of particular languages come out.
This is just anectodal evidence anyways. And these are tools in the and, and no point for a "tool fight".