Better HN
topnewbestaskshowjobs
Log inSign up

ImDelicious

1 karma · joined Mar 20, 2012 (14y ago) · 1 submissions

Submissions

comment 14y ago · link · parent

I find the batch operations odd odd:

1. why have a different method for multiple values rather then check parameter type for the normal methods (e.g. if 'set' received an object or get received an array).

2. getMany returns an array instead of an object mapping key to value. Sure may be more efficient but less convenient to use.