Re: Pike 8.0 RC1

Martin Bähr <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Excerpts from Sup Auto-generated Fake Sender's message of 2014-10-28 14:35:01 +0100:
> (Perl6 has replaced A?B:C with A??B!!C for reasons that are not clear
> to me.)

i was curious, so i went to #perl6 and asked. straight from the horses mouth,
that is larry wall himself:

TimToady:#perl6: C wasted two perfectly good characters on a single operator that can 
                 be better put to use composing other characters
TimToady:#perl6: er, operators
TimToady:#perl6: (or as themselves, like we use : for invocant separator)
TimToady:#perl6: that reduces the ambiguity
TimToady:#perl6: in addition, ? and : are almost invisible as control flow, ?? and !! 
                 stand out much more visually
TimToady:#perl6: third, all the other "thunky" operatory like && and || and doubled, 
                 so this one is too
PerlJam:#perl6: eMBee: plus !! is more evocative of "notness" for the false side of 
                the ternary
TimToady:#perl6: fourth, :: is used elsewhere, so we switched to !!
TimToady:#perl6: fifth, what PerlJam said
gtodd:#perl6: plus !! suggests to me something was not happening
gtodd:#perl6: oh yeah
TimToady:#perl6: we use ? and ! lots of places in Perl 6 for true/false, so this fits 
                            right in

http://irclog.perlgeek.de/perl6/2014-10-28#i_9577219

greetings, martin.

-- 
eKita                   -   the online platform for your entire academic life
-- 
chief engineer                                                       eKita.co
pike programmer      pike.lysator.liu.se    caudium.net     societyserver.org
BLUG secretary                                                 beijinglug.org
foresight developer  foresightlinux.org                            realss.com
unix sysadmin
Martin Bähr          working in china        http://societyserver.org/mbaehr/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.