Write powerful Ruby code that is easy to maintain and change. With metaprogramming, you can produce elegant, clean, and beautiful programs. Once the domain of expert Rubyists, metaprogramming is now accessible to programmers of all levels. This thoroughly revised and updated second edition of the bestselling Metaprogramming Ruby explains metaprogramming in a down-to-earth style and arms you with a practical toolbox that will help you write your best Ruby code ever.
Dig under the surface and explore Ruby's most advanced feature: a collection of techniques and tricks known as metaprogramming. In this book, you'll learn metaprogramming as an essential component of Ruby and discover the deep, non-obvious details of the language. Once you understand the tenets of Ruby, including the object model, scopes, and singleton classes, you're on your way to applying metaprogramming both in your daily work assignments and in your fun, after-hours projects.
Metaprogramming Ruby, Second Edition makes mastering the language enjoyable. The book is packed with:
Pragmatic examples of metaprogramming in action, many of which come straight from real-life gems such as Rails.
Programming challenges that let you experiment and play with some of the most out-there metaprogramming concepts.
Metaprogramming "spells"--33 practical recipes and idioms that you can study and apply right now, to write code that is sure to impress.
This completely revised new edition covers the new features in Ruby 2.0 and 2.1, and contains code from the latest Ruby libraries, including Rails 4. Most examples are new, "from the wild," with more recent libraries. And the book reflects current ideas of when and how much metaprogramming you should use.
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.
What You Need:
Ruby 2.x, Ruby 1.9, or a recent version of JRuby.
"synopsis" may belong to another edition of this title.
Paolo Perrotta has fifteen years of experience as a developer, ranging from embedded to enterprise software, computer games, and web applications. Paolo lives a nomadic life, mentoring agile teams throughout Europe. He has a base camp in Bologna, Italy. He loves Ruby.
"About this title" may belong to another edition of this title.
Seller: Goodwill Industries, Spokane, WA, U.S.A.
Condition: good. Condition: Good â" Used book with some visible wear. May include stickers on the cover, wear or absence of the dust jacket, wear to the spine or inside cover, slight corner curling, minor staining, and wear along the fore edge. All orders are shipped via UPS Mail Innovations and may take up to 10 business days from the initial scan to be delivered. Seller Inventory # INWV.1941222129.G
Seller: ThriftBooks-Dallas, Dallas, TX, U.S.A.
Paperback. Condition: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less. Seller Inventory # G1941222129I4N00
Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condition: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less. Seller Inventory # G1941222129I4N00
Seller: HPB-Red, Dallas, TX, U.S.A.
Paperback. Condition: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Seller Inventory # S_457667596
Seller: YESIBOOKSTORE, MIAMI, FL, U.S.A.
paperback. Condition: As New. Seller Inventory # 1941222129-VB
Seller: GoldBooks, Denver, CO, U.S.A.
Condition: new. Seller Inventory # 54D46_76_1941222129
Seller: thebookforest.com, San Rafael, CA, U.S.A.
Condition: New. Supporting Bay Area Friends of the Library since 2010. Well packaged and promptly shipped. Seller Inventory # BAY_05_SH_070562
Seller: Studibuch, Stuttgart, Germany
paperback. Condition: Gut. 280 Seiten; 9781941222126.3 Gewicht in Gramm: 1. Seller Inventory # 1045019