Thank you for adding Ruby syntax. This post was written a few year ago when I found myself always scrambling to write loop when working with different programming languages. Nowadays, a functional programming approach is preferable. I love Python and Ruby for their clean syntax.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.