Re:Ruby Metaprogramming Simplified
by tptacek on Friday December 18, 2009 @11:41AM
(#1003395)
Changing the behavior of an existing class or method isn't really what people mean by metaprogramming, is it?
[ Parent
| on HN ]
Re:Ruby Metaprogramming Simplified
by jeremymcanally on Friday December 18, 2009 @01:16PM
(#1003599)
Well no not really. I guess you could use this lib for metaprogramming (code generation etc.), but I don't really see much benefit. This just seems to be an odd wrapper that doesn't make things more apparent (though that may be because I already know a good bit about Ruby and can't see with "n00b eyes").
I would hazard the suggestion that the library performs metaprogramming, and what it affords is a mental model for associating classes of entities with behaviour that is different from Ruby's out-of-the-box Smalltalk-like OO semantics.