Meta-programming Ruby for Fun & Profit 4.9 http://spkr8.com/t/218

Description:

Ruby is the revenge of the Smalltalkers. Not since Smalltalk has a language had such powerful meta-programming facilities. While this may seem like a minor feature, it turns out that surgical meta-programming allows solutions to problems that are clearer, more concise, more maintainable, and take orders of magnitudes fewer lines of code.

This session shows one of the reasons that JRuby is the most powerful mainstream language today: meta-programming. It shows tons of meta-programming techniques in Ruby, including open classes, the shadow meta-class, defining methods, method_ & const_missing, dynamically adding and removing mixins, and more. And each of these comes with an example that actually makes sense!

Session Topics

* Modules
* Structs
* Freezing
* Messages and Dynamic Invocation
* The Shadow Meta-class
* Code as Objects
* Delegation
* Open Classes
* Aspects
* Missing!
      o Const
      o Method
* Reflection
* Mixology

Comments on this Talk

Photo_4 markmzyk, 22 Feb 11:23 PM

Neal is a great presenter. He always delivers talks smoothly and with lots of content. He has more slides than any presenter I've ever seen, but that is because he only puts a small amount of information on each slide and makes all his slides very interactive.

In this talk he had lots of great content, going into how Ruby makes meta programming easy and also providing real world examples of where this has been used.

Neal fills up the entire time allotted for the talk, but in the future it might be nice to see some live coding, even if just for a short while. I think this could really hammer home what a great language Ruby is for meta programming.

Have an account? Sign in or register.

Leave a Comment

1 Rating: 4.90

Delivery: 5.00

Content: 4.80

Time & Location

February 21, 2009 — 05:00 PM
Durham, NC (Map It)