Has uncle Bob actually produced any useful software? Are there any examples of his work out there which can be analysed?
1,312 karma · joined September 9, 2012
Or wait for them to finish.
This doesn't have the usual problems associated with colored functions though (ie, calling async functions from non-async functions or vice-versa). If you don't need cancellation, pass a `context.Background()` and you're done.
> If goroutines are so cheap then why not let the library spawn them. As long as the interface doesn't reveal if they are being used or not it shouldn't matter.
Agreed. providing a synchronous API is what's important.
for x := range iter.N(10) { ... }