Ruby Tuesdays: RBP Chapter 62010-03-02 07:00, written by Gregory Brown
If you’re reading this blog, you probably know that the Ruby Best Practices book exists. Even if you haven’t read it, you might have a sense for the sort of topics we cover based on the content you’ve seen on this blog. But now, everyone is going to get a chance to read RBP the way its meant to be read: as a conversation.
Progress To Date
We’ve already released the first five chapters, and discussion has been great. Be sure to check out these previous posts if you haven’t already:
- Chapter 1: Driving Code Through Tests ,
- Chapter 2: Designing Beautiful APIS / Chapter 3: Mastering the Dynamic Toolkit
- Chapter 4: Text Processing and File Management
- Chapter 5: Functional Programming Techniques
These discussions should give you a sense of the wide range of ideas our readers have been sharing as a result of this ongoing book study.
How To Read RBP
Readers are encouraged to fight RBP as they read it, rather than just soaking up the information. Although I claim this book is about “Best Practices”, the only reason that is true is that it’s a result of countless conversations with folks who are deep in the Ruby trenches getting stuff done. The only way for RBP to remain current and relevant is to continue these discussions, using its content as a jumping off point for fresh ideas.
This chapter on what to do “When Things Go Wrong” turned out to be one of the most enjoyable ones to write. Having a strong ability to troubleshoot and debug code is a powerful skill to have, and I do my best to share all my secrets here.
Go ahead and download Chapter 6 now. You’re encouraged to participate in the discussion here once you’ve had a chance to play with some of the ideas from the book. Don’t worry if it takes you more than a few days finish reading it, you can come back and comment any time.
Enjoy, and come back next Tuesday (2010.03.09) for Chapter 7, “Reducing Cultural Barriers”, which covers multilingualization (m17n) and localization (L10n) techniques.
For Your Consideration
O’Reilly is being really nice to me by letting me give away my book, especially considering that I haven’t quite cleared my advance yet (though I’m getting closer now, finally!)
If you like what you see, please consider buying the book. You can get it directly from the publisher or via amazon. I imagine that seeing decent sales numbers will encourage O’Reilly to keep moving towards making their content openly available, which would totally rock.
For those wishing to do interesting things with this material, note that it is released under the Creative Commons NC-SA license. This will become immensely more useful once the source documents for the manuscript are posted in late March, but if you’ve got any questions at all about this, you can ask me, and I’ll ask my publisher, and we’ll get back to you.