Daniel Berger
11/29/2006 10:07:00 PM
Rob Sanheim wrote:
<snip>
> > This was a bug that was "fixed" in a 1.8.5. In 1.8.5 trying to do
> > 'attr_accessor :weird?' raises a NameError.
> >
> > I had voted that doing 'attr_accessor :weird?' should create a "weird?"
> > and "weird=" method, but I was shot down by programmers who were more
> > interested in being correct than useful (am I bitter? nah). See
> > ruby-core:5796 and following for more information.
<snip>
> Hmm, I just went through the thread on ruby-core, and I didn't see
> anyone really shoot you down. There was some debate, but the last
> thing Matz said was "I'm not sure", so maybe its still an option? Or
> was there a later thread that officially shot it down?
The current 1.8.5 behavior shows which direction Matz chose so, yes, I
was shot down (implicitly rather than explicitly - another cause for
annoyance, actually). There may have been followup in ruby-devel, but
I don't follow that list (since it's mostly Japanese). I doubt there's
any going back now, but you're certainly free to try.
Regards,
Dan