From: RevMike Date: 2006-01-04T03:12:59+09:00 Subject: Re: How to learn 'the ruby way' Frank Spychalski wrote: > Hi everybody, > > I follow this list for some time but due to the volume I might have > missed it, if this was answered before... > > I have another problem: I'm programming for some time (~20 years, if you > count the good old BASIC days), I've studied CS, I've used C/C++ (a > bit), Shell (some), Perl (some), PHP (some), Java (a lot) and a lot of > other languages. I think I understand most of the ruby language but I > fear I'm still using it in the wrong way. What I'm looking for, is a way > to learn 'the ruby way'. I'm thinking something like: > > - Problem > - This is how you would have done it in another language > - Nice Ruby Solution > > I have the pickaxe and the ruby on rails book and I'm reading both at > the moment. I looked through the sample chapter of 'The Ruby Way' but it > seemed more like a cookbook to me. > > bye > Frank I'm also a java programmer who is learning Ruby. So far I installed the one-click install version on my WinXP laptop, read the entire "Programming Ruby" book included, and wrote one small app. But I've gone back and refactored the app 3 times! And I have another refactoring planned. The app has only two classes. In my opinion, if you know how to do something in one way, make it work. then go back and refactor over and over again, trying different Ruby constructs, until you are comfortable with what you are doing. Mike -- Posted via http://www.ruby-forum.com/.