From: Robert Dober Date: 2008-03-11T12:08:30+09:00 Subject: Re: Best practices for Ruby Meta-programming On Tue, Mar 11, 2008 at 2:25 AM, Paul Mckibbin wrote: > Metaprogramming. Isn't that just another name for self-modifying code. > Only had to do that once in a game to get past a hardware limitation on > frame-flyback time for a display driver. (Had to split the screen into > 1/3rds to get the maximum number of hardware sprites to treble :) ) That > was really the only time I *had* to do it and could justify it > convincingly since we were down to counting t-states. > > Duck is good, if you really go to the extremes of Ducktyping you need metaprogramming in Ruby. Modules and Classes just wont do, hopefully I will have time soon to elaborate on this. Cheers Robert > -- > Posted via http://www.ruby-forum.com/. > > -- http://ruby-smalltalk.blogspot.com/ --- Whereof one cannot speak, thereof one must be silent. Ludwig Wittgenstein