Contrib functions #7
Comments
Realy? That's it? I was thinking more along the lines of But if it's going to just be a handful, maybe they go into "more", and we leave Underscore-Contrib alone. |
At the moment -contrib doesn't meet the quality bar of lodash. If we take it on it means putting it through the same ringer, modularizing, documenting, getting test coverage up, & testing across all supported environments. It's a bit much for something that's been a bit of a dumping ground for odds and ends. I'm fine leaving it as its own package (if it's modularized on its own that's fine). |
Alright then. Let's maybe pull a handful of our favorite methods for "more", and leave the rest of it as it stands. We can use this ticket to nominate favorite contrib functions, if any. |
I find |
Closed by #14. |
I did a scan of the underscore contrib functions last night. Of all of them, the ones I've found useful are:
chunk
(Add _.chunk to Array functions. jashkenas/underscore#1919, implemented in lodash)conjoin
anddisjoin
(Add Composite Predicate Functions jashkenas/underscore#2124, _.and, _.or, and _.not for combining predicates? lodash/lodash#1072)fromQuery
(I've implemented this a handful of times)toQuery
($.param
, but would complementfromQuery
)Any others you've found useful?
The text was updated successfully, but these errors were encountered: