From: Glenn Parker Date: 2005-01-25T03:58:17+09:00 Subject: Re: attr Trans wrote: > > So I have a few questions. First, what do you think of this in general? Clever stuff for golfing, and possibly useful as a way to illustrate the meta-programming flexibility of Ruby, but it adds nothing meaningful while moderately obfuscating some simple tasks. You've come up with a way to compress two or three lines of trivially understood Ruby down to one line of obscure Ruby. To me, the original two or three "verbose" lines are preferable because they are more easily recognized and understood by a Ruby coder. -- Glenn Parker | glenn.parker-AT-comcast.net |