develooper Front page | perl.perl5.porters | Postings from October 1999

Re: A plea for Or-Defined: ordef, |||, |||=

Thread Previous | Thread Next
From:
Mark Mielke
Date:
October 1, 1999 15:35
Subject:
Re: A plea for Or-Defined: ordef, |||, |||=
Message ID:
19991001183518.A9021@wmers0a9.ca.nortel.com
On Fri, Oct 01, 1999 at 10:58:16AM -0600, "Nathan Torkington" wrote:
> Wilson P. Snyder II writes:
> > What's the big deal?
> You need to read the p5p archives on this subject.  It caused much
> bitter dissent within the ranks.  The last word heard was that nothing
> would be done on it in 5.6, if ever.  We already have a working patch
> for it, but it's not something that the pumpking(s) are eager to
> include.
> So, you'll have to stick with 'defined($x) ? $a : $b'.

This is really silly.

We need one of the following:

     use NameOfExtensionThatIDonTWantToMakeUpRightNow;

     $a ??= $b;

Or,

     my $a   : string;

     $a ||= $b;  # Just works "right"


I find the argument over safe signals similarly silly. The fact that people
would choose to have unsafe code for a tad more speed almost makes me sick.

What language were companies banking their money on having their coders
program in again?

mark


-- 
markm@nortelnetworks.com/mark@mielke.cc/markm@ncf.ca __________________________
.  .  _  ._  . .   .__    .  . ._. .__ .   . . .__  | CUE Development    (4Y21)
|\/| |_| |_| |/    |_     |\/|  |  |_  |   |/  |_   | Nortel Networks
|  | | | | \ | \   |__ .  |  | .|. |__ |__ | \ |__  | Ottawa, Ontario, Canada

  One ring to rule them all, one ring to find them, one ring to bring them all
                       and in the darkness bind them...

                           http://mark.mielke.cc/


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About