Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: RFC: Should join subsume reduce?

by Sec (Scribe)
on Feb 23, 2006 at 10:24 UTC ( #532237=note: print w/ replies, xml ) Need Help??


in reply to RFC: Should join subsume reduce?

As all the others seem to think this is a bad idea, I will voice my opinion that I think it is a good idea. It does not break existing code. It is similar enough that to me it seems logical that join should support more complex operations than only the simplest case. And finally i think that it would be great to have such functionality in base perl without installing yet another module.


Comment on Re: RFC: Should join subsume reduce?
Re^2: RFC: Should join subsume reduce?
by demerphq (Chancellor) on Feb 23, 2006 at 12:15 UTC

    And finally i think that it would be great to have such functionality in base perl without installing yet another module.

    Just so you know this argument is a no-op. List::Util has been in core as of 5.8.x.

    ---
    $world=~s/war/peace/g

      In fact, the argument is not just a no-op, it contradicts the sentiment: List::Util has been in core since 5.7.3 (to be precise), whereas this newfangled join would only appear in some future version of Perl – so if you wanted broader coverage, you’d use reduce anyway.

      Makeshifts last the longest.

        That's effectively an argument against adding any new features. Anybody who wanted broader coverage won't use, for example, the defined-or family of new features. Is it your position that there should be no new features added to Perl5?

        Caution: Contents may have been coded under pressure.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://532237]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-12-27 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls