From: Iwan van der Kleyn Date: 2004-11-23T04:03:05+09:00 Subject: Re: Typical/idiomatic examples of dynamic code generation with Ruby? Thanks for the tips. Today I got the Pickaxe (2004 edition) and I found the relevant references. I'll be playing around with it for a while. In the paper I'm comparing SQLObject (Python object-relational mapper, kind like ActiveRecords I guess) which uses lots of metaclass wizzardry. Although you would be able to something similar in Java, it would be far less natural or easy to the enduser (programmer) and it would be absolutely hell to implement. I'm hoping to come with some nice examples. Look in Google for some nice references when searching for "Java dynamic code generation". The way to do this in Java would be through "regular" code generation though, which would be generated by a special tool like XDoclet at compile time. > It seem that your paper will be very interesting.. I even wonder how > static languages handle this situations. With luck it will be released under an Open Conent license in January. Thanks again, Iwan