Hacker News new | ask | show | jobs
by tptacek 6020 days ago
Changing the behavior of an existing class or method isn't really what people mean by metaprogramming, is it?
2 comments

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.