Start reading Metaprogramming Ruby: Program Like the Ruby Pros on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Colour:
Image not available
 

Metaprogramming Ruby: Program Like the Ruby Pros [Kindle Edition]

Paolo Perrotta
5.0 out of 5 stars  See all reviews (6 customer reviews)

Print List Price: £21.99
Kindle Price: £13.17 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £8.82 (40%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.

Formats

Amazon Price New from Used from
Kindle Edition £13.17  
Paperback £13.86  
Kindle Daily Deal
Kindle Daily Deal: Up to 70% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Book 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, "out-there" metaprogramming concepts.
  • 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.


  • Product Description

    Review

    ""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

    About the Author

    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.


    Product details

    • Format: Kindle Edition
    • File Size: 709 KB
    • Print Length: 296 pages
    • Simultaneous Device Usage: Unlimited
    • Publisher: Pragmatic Bookshelf; 1 edition (15 Feb. 2010)
    • Sold by: Amazon Media EU S.à r.l.
    • Language: English
    • ASIN: B00A376YAK
    • Text-to-Speech: Enabled
    • X-Ray:
    • Word Wise: Not Enabled
    • Average Customer Review: 5.0 out of 5 stars  See all reviews (6 customer reviews)
    • Amazon Bestsellers Rank: #483,134 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
    •  Would you like to give feedback on images?


    More About the Author

    Discover books, learn about writers, and more.

    Customer Reviews

    4 star
    0
    3 star
    0
    2 star
    0
    1 star
    0
    5.0 out of 5 stars
    5.0 out of 5 stars
    Most Helpful Customer Reviews
    3 of 3 people found the following review helpful
    By Augusto
    Format:Paperback
    Really good introduction to the metaprogramming capabilities of Ruby. It's quite an easy read as the author wrote the book as a conversation between two developers (in a few places of the book this is taken a bit to the extreme, but it's ok).

    One thing I loved about this book is the number of examples taken from active open-source projects. I think this is a *great* idea as it invites the reader to download the code from those libraries and see how metaprogrammig is used in the wild.

    I think this is an excellent book for someone who has little or no background about the metaprogramming features of ruby.
    Comment | 
    Was this review helpful to you?
    1 of 1 people found the following review helpful
    5.0 out of 5 stars a book "to read" 17 Jan. 2011
    Format:Paperback
    It's a very good book "to read". It's not just a bunch of techniques or code snippets but a nice and interesting book that teach you how to think "like a ruby pro".

    Just like many collegues and friends of mine i haven't bought a paper book sice a long time but i really recommend it to all of you interested into Ruby and metaprogramming techniques.

    It's also a funny book and you'll never get bored.

    If you think this review to be more suitable to a novel instead of an IT book than you can understand it's a "must have" :)
    Comment | 
    Was this review helpful to you?
    1 of 1 people found the following review helpful
    5.0 out of 5 stars Great book! 6 April 2011
    By Serge
    Format:Paperback
    Very interesting book, that goes deep into Ruby concepts, shows a lot of dynamic programming magic. But all of these, in very clean and simple style, which makes reading this book nothing but pleasure.
    Comment | 
    Was this review helpful to you?
    Would you like to see more reviews about this item?
    Were these reviews helpful?   Let us know

    Customer Discussions

    This product's forum
    Discussion Replies Latest Post
    No discussions yet

    Ask questions, Share opinions, Gain insight
    Start a new discussion
    Topic:
    First post:
    Prompts for sign-in
     

    Search Customer Discussions
    Search all Amazon discussions
       


    Look for similar items by category