Re:What the web platform can learn from Node.js: The Darwini...
by substack on Wednesday December 16, 2015 @04:01PM
(#10747297)
I think that's preferable to remembering whether any given method is in List::Moreutils, List::Util, List::AllUtils or some other package entirely. You already know the name of the method you want, why can't that be the name of the package?
[ Parent
| on HN ]
Re:What the web platform can learn from Node.js: The Darwini...
by riffraff on Wednesday December 16, 2015 @06:04PM
(#10748070)
that is only true if you know the name in advance.
Considering List::Util I can look at the module documentation for a function that returns the first element for each pair in a list and fine "pairkeys" but I would probably not make the name up and match what the package author thought.