News for hackers. Stuff that matters.
Re:What the web platform can learn from Node.js: The Darwini... by falsedan on Wednesday December 16, 2015 @12:54PM (#10745924)
Reminds me of the plethora of packages on CPAN; juxtapose with PyPI & trying to convince python devs that releasing a distribution that only does one thing/has one package wasn't a waste of time…
Re:What the web platform can learn from Node.js: The Darwini... by mhd on Wednesday December 16, 2015 @01:26PM (#10746145)
I sometimes think that in the JS world, List::Util would be 12 different packages…
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?
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.