Re:Why Go Is Not Good
by tshadwell on Tuesday July 01, 2014 @07:38PM
(#7974180)
I'm not suggesting these are the best patterns, or even 'good' patterns. I am simply drawing a parallel between them and pythonic iterators. When it comes to errors from generator patterns, I've gone between your suggestion and chan<-struct{T;error} when channel based generator patterns are appropriate.
[ Parent
| on HN ]
There are no comments on this comment yet.