At 1:55 PM -0700 5/5/04, Larry Wall wrote:
On Wed, May 05, 2004 at 04:25:45PM -0400, Austin Hastings wrote:
: In this case, the reliance on saying:
:
:       if (+$x > 9) ...
:
: to disambiguate logical/arithmetic/string/whatever context in expressions is
: going to sit at cross purposes to the +-as-required-arg usage. It'll be yet
: another source of learning curve gradient to no real purpose.
:
:     method x ($me: $req, ?$opt, +$namedopt, *%named, [EMAIL PROTECTED]) {...}
: vs:
:     method x($me: $req, ?$opt, ~$namedopt, *%named, [EMAIL PROTECTED]) {...}

Using ~ is not an improvement in that respect.  Named arguments are
not in string context.

Looking at this, all I can think is "I hope there's a long-form of all this punctuation notation for those of us old and feeble folks".
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to