Why I Ask this Question:I've just starting to learn Ruby (and by extension IronRuby since I work in the Microsoft world). I picked up IronRuby Unleased to teach me the basic syntax of Ruby, and any particulars of IronRuby. However, learning the syntax is not my primary goal (if that was, I would just obtain The Ruby Programming Language, which I might get eventually anyway).I say this because I could learn the syntax, but still write programs in a non-Ruby way. Such as:Forcing heavy-handed DI via DI frameworks*Using Ruby to write mostly C, Java, or Perl type codeTo me, doing these things sounds the effective equivalent of writing procedural code in Java, or learning the syntax of F#, but writing programs as if the language were C#.Therefore, my main goal is to learn to program, to think, in the way that embodies Ruby's:Language idiomsDynamic styleTried-and-true principles and patterns of the community*Response #28 to the link above (Forcing heavy-handed DI via DI frameworks), asks a similar question to the one I post here. The blog's author suggested reading Jim Weirich's code and perhaps Rails. I'm looking for additional suggestions.
How does one learn to program (and think) the Ruby way?
learning;ruby;dynamic typing;patterns and practices;idioms
Why's Poignant Guide to Ruby contains a lot of good, idiomatic Ruby.Ill be straight with you. I want you to cry. To weep. To whimper sweetly. This book is a poignant guide to Ruby. That means code so beautiful that tears are shed. That means gallant tales and somber truths that have you waking up the next morning in the arms of this book. Hugging it tightly to you all the day long. If necessary, fashion a makeshift hip holster for Whys (Poignant) Guide to Ruby, so you can always have this books tender companionship...