Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Ruby equivalent of "pythonic"? [closed]

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.

like image 789
Snowball Avatar asked Sep 19 '12 21:09

Snowball


1 Answers

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.

like image 86
Chris Mowforth Avatar answered Oct 02 '22 19:10

Chris Mowforth