2 ms·
IMO the key is always to be compositional. E.g. here you should be able to separate the batching up requests from the performing network calls, and then you can
by lmm 6y ago
IMO the key is always to be compositional. E.g. here you should be able to separate the batching up requests from the performing network calls, and then you can test and reason about both pieces separately. I find the iteratee model is really good for this.