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

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Metaprogramming Ruby: Program Like the Ruby Pros
 
 

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

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

Print List Price: £21.50
Kindle Price: £17.38 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £4.12 (19%)
* Unlike print books, digital books are subject to VAT.

Formats

Amazon Price New from Used from
Kindle Edition £17.38  
Paperback £21.50  
Kindle Daily Deal
Kindle Daily Deal: At least 60% 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.

Special Offers and Product Promotions

  • Purchase any Kindle Book sold by Amazon.co.uk and receive £1 credit to try out our Digital Music Store. Here's how (terms and conditions apply)


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

Product 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 details

    • Format: Kindle Edition
    • File Size: 862 KB
    • Print Length: 296 pages
    • Publisher: Pragmatic Bookshelf; 1 edition (6 Nov 2012)
    • Sold by: Amazon Media EU S.à r.l.
    • Language: English
    • ASIN: B00A376YAK
    • Text-to-Speech: Enabled
    • X-Ray:
    • Average Customer Review: 5.0 out of 5 stars  See all reviews (5 customer reviews)
    • Amazon Bestsellers Rank: #296,277 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.

    What Other Items Do Customers Buy After Viewing This Item?


    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 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?
    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?
    5.0 out of 5 stars Mind-bending! 7 Oct 2013
    Format:Paperback|Verified Purchase
    This is a mind bending book. I already had o little crush on Ruby but after this book, I'm completely in love!
    The book is clear, it has a funny way of introducing things and the whole "lets tell a story about this" kind of approach just makes it seem like I'm not reading a technical book but a story book.
    This book helped me understand how many ruby gems do things, especially ActiveRecord, and helped me be a better programmer.
    Now I'm so much into the metaprogramming concept that any language that doesn't support it, I'm not interested!
    Comment | 
    Was this review helpful to you?
    5.0 out of 5 stars A very good book on Ruby 8 Sep 2010
    By dgt79
    Format:Paperback|Verified Purchase
    This is the best Ruby book I came across as it explains the concepts behind Ruby in a very easy to understand way. Besides, the book is written in a very similar style to Head First - Design Patterns, which is funny and easy to follow. I was also pleased to see that it's up to date with Ruby 1.9.
    Comment | 
    Was this review helpful to you?
    Would you like to see more reviews about this item?
    Were these reviews helpful?   Let us know
    Search Customer Reviews
    Only search this product's reviews

    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