- Series: Effective Software Development Series
- Paperback: 240 pages
- Publisher: Addison-Wesley Professional; 1 edition (October 5, 2014)
- Language: English
- ISBN-10: 0133846970
- ISBN-13: 978-0133846973
- Product Dimensions: 6.9 x 0.6 x 8.9 inches
- Shipping Weight: 1 pounds (View shipping rates and policies)
- Average Customer Review: 4.9 out of 5 stars See all reviews (14 customer reviews)
- Amazon Best Sellers Rank: #666,062 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Effective Ruby: 48 Specific Ways to Write Better Ruby (Effective Software Development Series) 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Featured design resources sponsored by O'Reilly Media. See more
Frequently bought together
Customers who bought this item also bought
“This book is quite unlike any other Ruby book, and in a couple hundred pages, I imagine anyone who reads this—novice or expert—will emerge a better Ruby programmer.”
—From the Foreword by Mitchell Hashimoto, founder and CEO of HashiCorp, creator of Vagrant
About the Author
Peter J. Jones is a freelance software developer and a senior instructor for programming workshops taught by Devalot.com. He has been programming in Ruby since 2005, and has written and taught several development workshops, including an 11-week Ruby class for beginners.
If you are a seller for this product, would you like to suggest updates through seller support?
Top Customer Reviews
Even Ruby experts will enjoy this book as it's written in a direct, no-nonsense style and the items act as quick, handy reminders of things you knew but somehow forgot anyway.
The only criticism the book could face is that the 48 items are a little arbitrary. They're bundled into groups, but I feel you could easily have several other books that followed the same format and covered different items. Maybe there'll be Effective Ruby 2, 3, and beyond around the corner? :-)
I think this book is a good read for beginner and intermediate Ruby developers to learn more of the language features and write better, more maintainable code. The author has geared the book towards people who have some experience with Ruby and points out some of the common pitfalls that developers new to Ruby might face.
The book has 48 items to help you improve your code and covers everything from Ruby basics to an overview of the garbage collector. As someone who has been using Ruby for a few years, I learned a few new things about collections, Ruby's inheritance hierarchy, exceptions, and performance tips.
I thought the section on testing was a little thin, but there are entire books dedicated to testing and it is a tough topic to address in a single chapter. I think the author's intention is just to make the reader aware of the testing tools and methodologies available.
All in all, I thought this was a good read. I'll keep it handy and look forward to applying and experimenting with some of the ideas.
I found the chapter on Classes, Objects and Modules to be very useful in understanding how Ruby treats inheritance and method dispatching and the implications of which the reader should be aware of. Also of note, the chapter on meta-programming sheds some light on very useful techniques to avoid shooting yourself in the foot, a pretty common occurrence when meta-programming in Ruby.
I have been programming Ruby for years and I enjoyed reading the book a great deal. I learned some new tricks and re-acquainted myself with some forgotten ones as well.
IMO there is a real void when it comes to books on Ruby programming. ok, I understand the language. But how do I actually write good object-oriented programs using Ruby? This book answers some of those questions. Well worth the cost and the effort to read it. It will stay on my shelf at home as a welcome reference rather than my shelves at work where just anyone could walk off with it. They will just have to buy their own copy.
Concise, insightful, and fun to read - I really like it!
Some of the cool highlights that were very informative for me were:
- provided an example of how to use protected methods for a actual real life example
- great use case for class variable vs class instance variable and the pitfalls of class variables
- great overview and best practices around exceptions
If you want to go into deeper discussion and thought on Metaprogramming there is a great book for that, Metaprogramming Ruby. As well as the Ruby internals (i.e. garbage collection), Ruby under the microscope. But for a great overall of the cool tricks of Ruby, this is a great book!