Idioms
The team had a conversation about Ruby and Rails idioms. I find the whole topic fascinating.
As I understand it, "idiom" means "the way people in this community like to do things". Or even "the clever ways that people in this community have found to do things."
That's not "the best way" or "the most elegant way" or even "the most efficient way".
I went to the Ruby idioms page to see what these idioms were. The starting premise here is that I've been a programmer for almost 30 years, have programmed in a dozen different languages, am comfortable with Object-Oriented Design and Programming, and am relatively new to Ruby and Rails.
Some of the clevernesses on this page made me go "ooooooooooh - cool". Others made me go "say WHAT?"
My issue is that if it's confusing to read, then I probably wouldn't choose to use it.
Especially if I want other people who are even less familiar with the language, environment, and idioms to understand what I write.
Some of the examples on the Ruby idioms page remind me of the International Obfuscated C Code Contest, which has been around for 30 years or more.
Don't get me wrong - I love Ruby and Rails. As a programmer, web site designer and developer, and system designer, it makes my heart beat just a little faster with joy. But that doesn't mean that I embrace all the clever and sometimes incomprehensible things that fall into the realm of idioms.
I look forward to seeing how this all shakes out.