Backticks (was: Angle quotes and pointy brackets)

2004-11-29 Thread Jon Ericson
Matthew Walton [EMAIL PROTECTED] writes:

 James Mastros wrote:
 Larry Wall wrote:
 Well, yes, but sometimes the weights change over time, so it doesn't
 hurt (much) to reevaluate occasionally.  But in this case, I think I
 still prefer to attach the exotic characters to the exotic behaviors,
 and leave the angles with their customary uses.
 ...of which they have plenty already.  Backtick has exactly one, and
 not an often-used one at that... I'm fine with axing it.  Of course,
 there are a lot more people in the world then just me.

 I'm fine with it too. I use it a fair bit but I think it's important
 to have a very clear mark where you're going to an external program

Not when you're writing a quick one-liner.  Maybe stdout capturing
backticks should be disallowed when using strict, but allowed on the
command line.[1]

Will system return stdout in string context?

Jon

Footnotes: 
[1]  I wonder if there is a reason for disliking backticks besides it
 being surprising to C and Java programmers?




Re: Backticks (was: Angle quotes and pointy brackets)

2004-11-29 Thread Luke Palmer
Jon Ericson writes:
 Matthew Walton [EMAIL PROTECTED] writes:
 
  James Mastros wrote:
  Larry Wall wrote:
  Well, yes, but sometimes the weights change over time, so it doesn't
  hurt (much) to reevaluate occasionally.  But in this case, I think I
  still prefer to attach the exotic characters to the exotic behaviors,
  and leave the angles with their customary uses.
  ...of which they have plenty already.  Backtick has exactly one, and
  not an often-used one at that... I'm fine with axing it.  Of course,
  there are a lot more people in the world then just me.
 
  I'm fine with it too. I use it a fair bit but I think it's important
  to have a very clear mark where you're going to an external program
 
 Not when you're writing a quick one-liner.  Maybe stdout capturing
 backticks should be disallowed when using strict, but allowed on the
 command line.[1]

Let me clarify before this thread takes off.  We had a long discussion
about the role of backticks back in April.  Larry weighed in after a
long, long consideration.  Here's the answer:


http://groups.google.com/groups?selm=20040420175551.GA16162%40wall.orgrnum=1clarify
 before this thread takes off.  We had a long discussion about the role of 
backticks back in April.  weighed in after a long, long consideration.  Here's 
the answer:clarify before this thread takes off.  We had a long discussion 
about the role of backticks back in April.  weighed in after a long, long 
consideration.  Here's the answer:

It says that backticks won't be used at all in Perl 6.  That's (the) one
key of the keyboard that we're leaving to user-definition.

You can spare a few extra characters in a command line script.  Don't be
afraid.  They won't bite.

Oh, and anything you have to say about them has already been said back
in April. 

Luke


Re: Backticks (was: Angle quotes and pointy brackets)

2004-11-29 Thread Juerd
Luke Palmer skribis 2004-11-29 16:10 (-0700):
 
 http://groups.google.com/groups?selm=20040420175551.GA16162%40wall.orgrnum=1clarify
  
 It says that backticks won't be used at all in Perl 6.  That's (the) one
 key of the keyboard that we're leaving to user-definition.

It says that, but after saying Leaving aside the use of C`` as a term
 And that use of backticks is what this subthread appears to be
about. As I interpret it, backsticks for qx, unless elsewhere declared
gone, are still there.


Juerd


Re: Backticks (was: Angle quotes and pointy brackets)

2004-11-29 Thread Luke Palmer
Juerd writes:
 Luke Palmer skribis 2004-11-29 16:10 (-0700):
  
  http://groups.google.com/groups?selm=20040420175551.GA16162%40wall.orgrnum=1clarify
   
  It says that backticks won't be used at all in Perl 6.  That's (the) one
  key of the keyboard that we're leaving to user-definition.
 
 It says that, but after saying Leaving aside the use of C`` as a term
  And that use of backticks is what this subthread appears to be
 about. As I interpret it, backsticks for qx, unless elsewhere declared
 gone, are still there.

Sorry, I misread.

Luke


Re: Backticks (was: Angle quotes and pointy brackets)

2004-11-29 Thread Smylers
Juerd writes:

 Luke Palmer skribis 2004-11-29 16:10 (-0700):
 
  It says that backticks won't be used at all in Perl 6.
 
 It says that, but after saying Leaving aside the use of C`` as a
 term  And that use of backticks is what this subthread appears to
 be about. As I interpret it, backsticks for qx, unless elsewhere
 declared gone, are still there.

Although Larry did end by saying that qx probably needs to be
completely rethought anyway, so it's quite possible that even though
C`` have been left on the side they don't actually get used when
putting this thing back together.

Smylers