On Wed, 08 Mar 2006 15:56:53 +0100, <dblack / wobblini.net> wrote:

> Hi --
>
> On Wed, 8 Mar 2006, itsme213 wrote:
>
>> I wouldn't hold my breath for := or equivalent :-)
>
> I have to say, I've been wondering for many years... is self.x = 1
> really *that* bad?  It just seems like such a  minor thing to me.  I
> certainly wouldn't want to see new punctuation introduced just to
> avoid it.

How about allowing

.attr = val

as a shortcut for

self.attr = val

It's no "new" punctuation and I can't see any ambiguities with current  
ruby syntax (correct me if I'm wrong).

Just an idea.

Dominik