Ruby and Metaprogramming

According to wikipedia, Metaprogramming:

is the writing of computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at runtime that would otherwise be done at compile time.

Well, nice to hear cause Ruby is a lang that supports Metaprogramming effectively, and might be the best in that field. If you want to explore more on that topic, and how ruby can help you, then check this list of posts i wrote recently, i hope you will enjoy them:

If you have any question regarding this topic, please don’t hesitate to contact me, i would really be pleased to help you.

7 Replies to “Ruby and Metaprogramming”

  1. First off, thanks for those interesting posts, consider yourself subscribed 😉

    I am not sure, but I read (one Why’s blog) that the language IO is even better for metaprogramming, as you can read and modify the source (e.g. as a String) during runtime.

  2. @Soleone, Thanks for your trust.
    I never had the chance to work with IO lang, but i wish you provide an example so that we check if we can do the same with Ruby.

  3. This is a terrific source of information. Thanks a lot for taking the time to write all this stuff about Ruby meta programming. I especially like the postings on DSLs and dynamic method calling.

Leave a Reply

Your email address will not be published. Required fields are marked *