From: James Edward Gray II Date: 2006-01-09T05:12:42+09:00 Subject: Re: Ideas on "Why Living Dangerous can be A Good Thing" in Ruby? On Jan 8, 2006, at 2:04 PM, Gregory Brown wrote: > On 1/8/06, James Edward Gray II wrote: >> This is an excellent point, in my opinion. If I write code like: >> >> not_my_object.instance_eval { @secret_value += 1 } >> >> I know I'm crossing the line. When it eventually breaks, I'll know >> who's fault it is. For now though, I'm telling Ruby, "Just trust me; >> I know what I'm doing here." The great part is that she believes me >> and does it. ;) > > This is definitely a point worth making, that *most* people know that > meta-programming is dangerous stuff If you are compiling this information for a written piece, I suggest beginning with some definitions. I do not consider the above example metaprogramming, for example, just a violation of encapsulation. :) James Edward Gray II