sequence multiplied by -1

Seebs usenet-nospam at seebs.net
Sat Oct 2 23:42:48 EDT 2010


On 2010-10-03, Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> wrote:
> On Sat, 02 Oct 2010 12:50:02 -0700, Dennis Lee Bieber wrote:
>> 	Well... We could maybe borrow from REXX... and 
>> use		||	for concatenation.

>|| for concatenation? What's the connection between the pipe character 
> and concatenation?

That it's used for concatenation in at least two languages (REXX and SQL).

> It seems to 
> me that || was just plucked out of the air because it was unused.

That's quite possible in the past, but now it'd probably be done for
consistency with some other language that did it already.

-s
-- 
Copyright 2010, all wrongs reversed.  Peter Seebach / usenet-nospam at seebs.net
http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures
http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!
I am not speaking for my employer, although they do rent some of my opinions.



More information about the Python-list mailing list