From: Daniel DeLorme Date: 2007-11-14T21:24:20+09:00 Subject: Re: "once" meta-method without "module_eval" (Pickaxe) Greg Weeks wrote: > My impression is that Ruby meta-programming used to lean heavily on > evaluating strings as code, but is moving away from that. (Good!) I have just one question: why is that good? Is it just that avoiding evaluation of strings somehow "feels cleaner" or is there actually a justification for that? If you rememer that load/require basically has the effect of eval'ing the content of a file, string eval doesn't feel so evil anymore. Daniel