In the Python community, the term pythonic refers to idiomatic Python[1]. Is there an equivalent term in the Ruby community for idiomatic Ruby[2]?
[1] For example, using enumerate(l)
instead of range(len(l))
is pythonic.
[2] For example, using .each
instead of for
is idiomatic Ruby.
I've not heard of any such shorthand, presumably because there's no convenient suffix you can append to Ruby to turn it into an adjective :)
If you say something's idiomatic, and you're around rubyists, I think everybody will know what you mean.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With