From: Kaldrenon Date: 2007-08-22T21:44:57+09:00 Subject: Re: splitting Array - DRY On Aug 20, 3:58 am, "Simon Schuster" wrote: > > what's one of the best book about "Programming Ruby, the way it should > > be..." ? > > the Ruby Cookbook (ISBN: 0-596-52369-6) is really great, as it's > almost entirely working examples with lots of commentary (I learn by > doing/copying/changing), and has a curve that makes it great for > learning and also for later reference. I have this book too, and I haven't really delved into it, but I can tell it's definitely worth having. After all, it's an O'Reilly book. > being a beginner to programming in general, Beginning Ruby (ISBN: > 1590597664) covers a lot of great information, including a whole big > chapter on documentation, (I wouldn't have thought of looking into > RDoc otherwise!) error handling, debugging and testing... seeing as > how unit testing seems like a big part of ruby, and how I just > wouldn't have thought of looking into it, I find this very helpful as > well. and that's where I am in that book, about halfway, chapter > 8/16+appendices, so it'll probably get somewhat advanced. knowing C > already, I don't know if I could recommend it, but perhaps some > foundation-up learning could be helpful. The early stuff shouldn't be > TOO painful, as I'd bet that ruby and C differ pretty early on. The Pickaxe (the official title is "Programming Ruby - the Pragmatic Programmers' Guide, 2nd Ed.") is also an excellent resource - highly informative, well formated code examples, very readable. Might not get shelved under comedy, but still pretty entertaining, for a programming book. If you're LOOKING for comedy, _why's (Poignant) Guide to Ruby is where it's at. poignantguide.net 'Nuff said. GL, HF