File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ruby and the fly likes Metaprogramming vs plain Ruby or other languages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Metaprogramming vs plain Ruby or other languages" Watch "Metaprogramming vs plain Ruby or other languages" New topic
Author

Metaprogramming vs plain Ruby or other languages

Praful Gupta
Ranch Hand

Joined: May 01, 2006
Posts: 70
What does metaprogramming in Ruby involve? or what is the goal of this book? I am new to Ruby so don't know much about it but is metaprogramming something to apply after learning the basics of Ruby as a language like applying design pattens after you learn to write code?

Thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Yes: meta-programming requires a strong foundation in the basics.
Paolo Perrotta
author
Greenhorn

Joined: Mar 27, 2010
Posts: 27
If you're steeped in Java, then think about Java's reflection features. Reflection is not something that you learn on your first few days through the language - but when you're a bit more advanced, then you'll definitely want to know about reflection, and you'll probably use it fairly often. Metaprogramming is similar, but more advanced. So you should know the basics of Ruby before you start looking into it.


Paolo Perrotta, Europe
Author of Metaprogramming Ruby
http://www.pragprog.com/titles/ppmetr/metaprogramming-ruby
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Metaprogramming vs plain Ruby or other languages