Metaprogramming Ruby

Metaprogramming Ruby

4.31 (719 ratings by Goodreads)
By (author) 

List price: US$32.95

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

Everyone in the Ruby world seems to be talking about metaprogramming - how you can use it to remove duplication in your code and write elegant, beautiful programs. Now you can get in on the action as well. This book describes metaprogramming as an essential component of Ruby. Once you understand the principles of Ruby, including the object model, scopes, and eigenclasses, you're on your way to applying metaprogramming both in your daily work and in your fun, after-hours projects. Learning metaprogramming doesn't have to be difficult or boring. By taking you on a Monday-through-Friday workweek adventure with a pair of programmers, Paolo Perrotta helps make mastering the art of metaprogramming both straightforward and entertaining. The book is packed with: pragmatic examples of metaprogramming in action, many of which come straight from popular libraries or frameworks, such as Rails; programming challenges that let you experiment and play with some of the most fun, i??out-therei??' metaprogramming concepts; and metaprogramming spells - 34 practical recipes and idioms that you can study and apply right now, to write code that is sure to impress.
Whether you're a Ruby apprentice on the path to mastering the language or a Ruby wiz in search of new tips, this book is for you.
show more

Product details

  • Paperback | 240 pages
  • 191 x 229 x 25mm | 611g
  • Raleigh, United States
  • English
  • 1934356476
  • 9781934356470
  • 275,264

Review quote

""If you program in Ruby, buy this book. Twice. Ruby isn't magic anymore, just great.""--Joe Alba



""In Ruby, the practitioners of metaprogramming have found a language where they are only constrained by their imagination. To reach mastery is hard, and even harder is to apply it tastefully. This book gives a grounding in the fundamentals of metaprogramming Ruby in such a way that anyone can pick it up and then immediately start using it. Paolo brings out the core of how simple metaprogramming can be in this book, and that is no easy task.""--Ola Bini, ThoughtWorks
show more

About Paolo Perrotta

Paolo Perrotta has more than ten years of experience as a developer and writer. He worked for domains ranging from embedded to enterprise software, computer games, and web applications. These days, Paolo coaches agile teams for Yoox, a large Internet fashion shop, and teaches Java to developers throughout Europe. He lives in Bologna, Italy, with his girlfriend and a cat. He loves Ruby.
show more

Rating details

719 ratings
4.31 out of 5 stars
5 49% (352)
4 37% (267)
3 12% (83)
2 2% (11)
1 1% (6)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X