> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Date: Sat, 26 Oct 2002 23:01:31 -0700
> From: Michael Lazzaro <[EMAIL PROTECTED]>
> X-Accept-Language: en,pdf
> Cc: Damian Conway <[EMAIL PROTECTED]>,
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> X-SMTPD: qpsmtpd/0.12-dev, http://develooper.com/code/qpsmtpd/
>
>
> FWIW, if people are really eager to keep ^ for xor (I don't think
> anything's clicking great as a replacement), we could of course switch
> hyper to ~. That would give us, in part:
What about smart match, then? Would that go back to =~ ?
To be personally honest, my favorite (still) is:
^ Hyper
\\ Xor
unary ! Not (screw parallelism: it was never there before)
~ Cat
_ nada ahora
binary ! niente ora
~~ Smart match
I have no preferences for the bitops, as I don't find them remotely
useful in my work.
Modifying your table:
> ? ! + - _ # unary prefixes
>
> + - * / % ** x xx # binary
> += -= *= /= %= **= x= xx=
> ^+ ^- ^* ^/ ^% ^** ^x ^xx # hyper
> ^+= ^-= ^*= ^/= ^%= ^**= ^x= ^xx=
>
> and or xor err # logical ops
> && || \\ // # logical ops
> b& b| b\ # No biterr??! :)
> & | \ # No superr either...
> all any one none # none? Seriously :)? Fun.
I dunno, that's just me. The only problem with \\ is will people
remember which way is which? It'd be a shame to see
$fh = open('</etc/passwd') \\ die "Can't open /etc/passwd: $!"
And have it always die. But honestly, that's not too much of a
problem. A mnemonic might be that \\ has negative slope, and \\
kindof negates... kindof. Well, forget that.
As for unary \, who cares? ! is fine for negation. C didn't make the
connection, so why must we?
Or we could make ! the reference op 8-P
Luke