2 ms·
> So much of how Ruby and Python differ comes down to the for loop. I wish we wouldn't try to simplify the wildly different philosophies of language into a sin
by irjustin 3y ago
> So much of how Ruby and Python differ comes down to the for loop.
I wish we wouldn't try to simplify the wildly different philosophies of language into a single "thing". From imports, loops, calls, sub-classing, chaining, multi-lines, blocks - there are just so many differences that materially matter.
That said, regarding the loop itself, I agree with the article. I come from not-C background and looping in Ruby has always been a pleasure because it feels more natural especially once you include chaining.