080 RR Practical Metaprogramming with Steven Harms

    0
    478

    02:20 – Best of Parley

    03:55 – Practical metaprogramming

    08:54 – Steven Harms’ definition of metaprogramming

    • Redirection
    • At run time

    13:23 – Decorator patterns 15:22 – Two categories of metaprogramming

    19:13 – Ruby 2.0 Module#prepend

    22:12 – Keys to understanding metaprogramming

    26:43 – undef method vs remove method

    30:12 – Making code metaprogrammable

    • Find by email

    43:02 – Using metaprogramming

    • Dynamic finders
    • Ambiguity

    49:29 – How to level up in metaprogramming

    51:15 – Adding methods to objects and putting them in a module

    Next Week

    • Rails 4 with Aaron Patterson

    Book Club

    The next Ruby Rogues Book Club Pick will be Practical Object-Oriented Design in Ruby: An Agile Primer by Sandi Metz. We will be interviewing Sandi on January 2, 2013, with the episode airing January 9, 2013. The publisher, Pearson/Addison-Wesley is offering a discount via InformIT.com.

    • First create a user account: www.informit.com/join
    • SAVE 40% When You Buy 2: www.informit.com/ruby
    • Add books of choice to Shopping Cart, then enter the code SAVEONRUBY during Checkout
    • (Includes FREE SHIPPING within the U.S.!)