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 Juerd other posts by this author
Jun 21 2005 8:54AM messages near this date
Re: ./method | Re: ./method
What does this have to do with perl6-internals? F-up to p6l.

Matthew Zimmerman skribis 2005-06-21 11:27 (-0400):
>  	                     $self->_fraction * $self->concentration +
>                               $s2->_fraction * $s2->concentration

You can still write it like that, if you declare a name ($self) for the
invocant. Added to Perl is a shortcut, not a replacement.

>                          ./:fraction * ./concentration +
>                          $s2.:fraction * $s2.concentration

That looks silly indeed, and is a good reason for not using ./foo HERE.
It's not a good reason to not have ./foo at all.

>  and it gives me the willies.

Then don't use it. You don't have to use it.

>  If I have a complicated mathematical expression

If you have anything that is complicated, a verbose version should
always be considered, if only to avoid getting lost in punctuation. This
is not specific to ./foo in any way.

>  with method calls in it (which happens a lot for me), the '/' 
>  part of './' in particular gives me lots of visual problems.

It is visually much more suited for action than functional use:

    ./foo($bar, $baz);      # beautiful

    print 5 + ./foo($bar);  # ugly

>  at the top of my code if I have to, but I want to make one last gasp at 
>  getting $Larry / @Larry to reconsider this.

I find "o." absolutily horrifying. But then, that's apparently how you
think of "./", so we have to trust Larry's decision on this. I don't
think further discussing this is really fruitful, as it has already been
discussed more than is good for us.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html
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