next stop: semantic metaverse

Avatar

random stuff about the semantic web, mobile technology and mapping

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: ,

FOAF

Before you go

Going so soon? May these links be a guide to web enlightenment. Schwing!