News for hackers. Stuff that matters.
Re:Replacing Clever Code with Unremarkable Code in Go by jweese on Tuesday June 04, 2013 @10:59AM (#5819748)
> The channel is the analog to the Unix shell’s | character.

This sentence was italicized, and rightfully so. I've written a few small Go programs, but I haven't run into a problem where I thought, "A channel is definitely the right solution here." Yet I love and feel quite comfortable with shuffling data through big shell pipelines. Perhaps I'll think of a channel next time I'm reaching for a pipeline.

Re:Replacing Clever Code with Unremarkable Code in Go by mratzloff on Tuesday June 04, 2013 @08:23PM (#5822963)
I find that I use channels mostly when working with goroutines. It's also a convenient mechanism for connection pooling.