TRE: Metaprogramming Ruby
Dave Thomas’ presentation on metaprogramming Ruby was pretty interesting. He tried to explain what makes Ruby such a great language, and how it is different from less dynamic languages like Java. The 4 main features of Ruby that make it such a powerful metaprogramming language are:
- Classes are open
- Definitions are active
- All methods have a receiver
- Classes are object
Dave illustrated these concepts through a series of examples in Textmate, which were quite helpful. I had no trouble following his talk, but was impressed at how much detail he was covering. I would imagine that somebody who is new to Ruby might have found some of the concepts a bit daunting.
Technorati Tags: therailsedge, rails


