Remove usage of channels for ForEach
#90
Loading…
Reference in New Issue
No description provided.
Delete Branch "unchanify"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A channel does not let us report errors, just close the channel. So we can't distinguish between running out of data and encountering an error, which is obviously bad.
We have closures in Go, so having to use a callback instead of using
range
over a channel isn't that big of a deal, and it lets us do error handling, which is something we should always be able to do.