Having trouble reading this email? View it in your browser.
New This Week

Metaprogramming Ruby 2 »

With metaprogramming, you can produce elegant, clean, and beautiful programs. 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.

Recently Released:

 

Coming Up Next:

  • Mastering Clojure Macros
  • Fire in the Valley in print
  • Seven More Languages in Seven Weeks in print
Metaprogramming Ruby 2
August 13, 2014

Robin Williams was a great actor and comic, with a singular talent that could make other comics laugh out loud. He would even crack jokes about joking itself. Comedians and actors have long explored the possibilities of meta-dialog, a play-within-a-play, and other higher-level dramatic devices. It's a world-changing idea.

Metaprogramming can change your programming world, and open up possibilities you may never have known existed. Embrace the new-found freedom and power that metaprogramming can bring to your career.

Author Paolo Perrotta will show you all the magic, with examples, challenges, and over 30 "spells" that you can use right away. Now in print and shipping from pragprog.com/book/ppmetr2.

Don't put it off any longer, and start changing your world today.

Metaprogramming Ruby 2

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.

Now in print and shipping from pragprog.com/book/ppmetr2.

Updated: Programming Erlang, 2nd Ed.

This releases includes a few minor changes that were made to sync the book with the latest version of Erlang. The book was written before the specification of maps was finalized, so this edit corrects some small differences between the book and the Erlang release, in addition to correcting typos and other errata.

If you've purchased the ebook for this title from pragprog.com, you'll automatically get the updates in your account (and optionally on Dropbox and Kindle). If you haven't bought this title yet, come on over to pragprog.com/book/jaerlang2 and grab your copy today.

Upcoming Author Appearances

  • 2014-08-21 Noel Rappin, Madison Ruby, Madison WI
  • 2014-08-26 Johanna Rothman, Airconf
  • 2014-09-02 Johanna Rothman, Webinar
  • Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy @PragmaticAndy and Dave @pragdave.

    Thanks for your continued support,
    Dave & Andy
    The Pragmatic Programmers

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts
    PragProg.com

    Manage your subscription using your account, or permanently unsubscribe here.
    Sent by the Pragmatic Programmers, LLC. • 2831 El Dorado Pkwy, #103-381 • Frisco TX 75033