I love metaprogramming

I have almost finished the 80% of ruby metaprogramming course and I am loving it. Really, writing a complete class without writing the code below. This is so old way of writing code…nah just kidding.

class People
end

Also, declaring the instance methods and using class_eval just obfuscates the code. Awesome. I will share the code here once I have finished it.

About andhapp

Namastey (Hello) Stranger, This is not the geekiest blog on the planet yet it is not the dumbest one either. I am a small time developer who likes to explore new technologies. I usually program in Java, Groovy and Ruby and take keen interest in the surrounding geeky developments.
This entry was posted in Programming, ruby and tagged , , . Bookmark the permalink.

One Response to I love metaprogramming

  1. Hates_ says:

    Which course are you doing?

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>