develooper Front page | perl.perl5.porters | Postings from November 2015

Re: smartmatch needs your eyes

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
November 22, 2015 03:05
Subject:
Re: smartmatch needs your eyes
Message ID:
20151122030532.GB23409@cancer.codesimply.com
* Ricardo Signes <perl.p5p@rjbs.manxome.org> [2015-09-21T09:36:45]
> This whole subthread is rebuilding my resolve.  Plain scalars should go pound
> sand.  I don't believe I'll see a way to use them on the rhs of ~~ that will
> be straightforward.

Somebody recently asked me if I'd lost my resolve on this topic, and I said I'd
post my answer: I have not.

I still think the simplified table is a sane and flexible way forward, and that
we can later add means for optimized num/str checks in several ways.

I'll also restate that the ~~x and x~~ overloads are essential to make writing
these not *awful*.  I'm not married to the names, just the feature.

-- 
rjbs

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