5 ms·
Can someone explain me why is it useful? I.e. why not using underscore or whatever library provides map and filter?
by phzbOx 15y ago
Can someone explain me why is it useful? I.e. why not using underscore or whatever library provides map and filter?
- crcn 15y agoThanks for the feedback. I'll add a few use-cases / examples to the project page. Here are a few good examples which use sift: - Realtime API library: https://github.com/crcn/guava https://github.com/crcn/guava - Simple database written in node.js: https://github.com/crcn/gumbo https://github.com/crcn/gumbo. I use this primarily in command line utilities, and other applications where mongodb seems a bit over the top. Underscore is certainly a better alternative in many cases, but the goal for sift is to provide control over filtering collections with one query versus manipulating them.
- dpritchett 15y agoIt does remind me of an elaboration on map + reduce + filter. Guess I need to finish reading SICP too.