ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-language
perl6-language
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved