Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Want for a name? (Final thoughts; strong feelings; votes?)

by Anonymous Monk
on Dec 13, 2013 at 02:59 UTC ( [id://1066953]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Want for a name? (Final thoughts; strong feelings; votes?)
in thread Want for a name?

why no map_slice or map_splice? cause like slice/splice it returns a list ... and you're slicing the list you're iterating over
  • Comment on Re^4: Want for a name? (Final thoughts; strong feelings; votes?)

Replies are listed 'Best First'.
Re^5: Want for a name? (Final thoughts; strong feelings; votes?)
by BrowserUk (Patriarch) on Dec 13, 2013 at 08:52 UTC

    Mostly, because splice (and slice syntax) allow complete control over where to start and how many.

    And library routine use those terms combined with map is going to have to be -- or at least feel the pressure to be -- equally flexible.

    And a) that flexibility would have a disastrous affect on both usability & efficiency for the simple case; b) I've never encountered a need for that flexibility; where the simple case can (and has for me in recent months), crop up very frequently.

    Also, splice modifies array, this just provides snapshots.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-24 08:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found