Re: ./method
by Darren Duncan other posts by this author
Jun 18 2005 11:40AM messages near this date
Re: ./method
|
Re: ./method
At 7:52 AM -0400 6/18/05, John Siracusa wrote:
> That actually looks more "private" to me. Let's line 'em up again:
>
> PUBLIC PRIVATE
> ---------- ----------
> ./method() .:method()
> .@method() .:method()
> .>method() .:method()
> .:method() .>method()
> .:method() .::method()
>
> I'm just trying to get some more suggestions out there "on paper," because
> it seemed to me that the old thread jumped from ^ to ./ with less
> exploration than I'd like.
As I recall, it was decided for a broad scope that public and private
item invocation syntax was exactly the same but with the
consideration that all private items have a ':' as the first
character in their otherwise alphanumeric names (the ':' looks like
part of an operator but it isn't).
That seems to be getting ignored in this discussion, and I *like*
that ':' public vs private consistency, so here's an alteration to
your table:
PUBLIC PRIVATE
---------- ----------
./method() ./:method()
.@method() .@:method()
.> method() .>:method()
This looks way more consistent and predictable to me.
-- Darren Duncan
Thread:
Gaal Yahas
Luke Palmer
John Siracusa
Damian Conway
John Siracusa
David Storrs
Matthew Zimmerman
Juerd
Matthew Zimmerman
Damian Conway
David Storrs
Juerd
Kurt
Jonathan Scott Duff
Juerd
Juerd
Kurt
Juerd
John Siracusa
John Siracusa
Adam Kennedy
Juerd
John Siracusa
Adam Kennedy
John Siracusa
Darren Duncan
John Siracusa
Juerd
Juerd
Darren Duncan
John Siracusa
John Siracusa
John Siracusa
Damian Conway
Abhijit Mahabal
Damian Conway
Patrick R. Michaud
John Siracusa
Larry Wall
Gaal Yahas
Damian Conway
Patrick R. Michaud
Damian Conway
Patrick R. Michaud
Larry Wall
Patrick R. Michaud
"TSa (Thomas Sandlaß)"
Larry Wall
|